]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/blobdiff - config/backup/backup.pl
Merge remote-tracking branch 'ummeegge/useragent' into next
[people/teissler/ipfire-2.x.git] / config / backup / backup.pl
index d2d6816b0b99b77ad5a3727d84b4df6bfdcd912c..f9b8302af91af7c90c8fa9a8d9a5b63773542613 100644 (file)
@@ -62,6 +62,8 @@ elsif ($ARGV[0] eq 'exclude') {
 }
 elsif ($ARGV[0] eq 'restore') {
   system("cd / && tar -xvz -p -f /tmp/restore.ipf");
+  #Here some converter scripts to correct old Backups (before core 65)
+  system("/usr/sbin/ovpn-ccd-convert");
 }
 elsif ($ARGV[0] eq 'restoreaddon') {
   if ( -e "/tmp/$ARGV[1]" ){system("mv /tmp/$ARGV[1] /var/ipfire/backup/addons/backup/$ARGV[1]");}