PDA

View Full Version : Backup Script



chris122
October 4th, 2013, 09:38 AM
hi gurus, i found this command to restore backup from command line:

https://help.ubuntu.com/community/BackupYourSystem/SimpleBackupSuite

sudo srestore.py /var/backup/2006-11-18_03 /home/myuser /home/myuser/old
how do I modify this, so it will loop through all the folder backup and restore the backup?

thanks for any help. :)

chris122
October 4th, 2013, 10:24 AM
​hi gurus, i found this command to restore backup from command line:

https://help.ubuntu.com/community/Ba...pleBackupSuite (https://help.ubuntu.com/community/BackupYourSystem/SimpleBackupSuite)

sudo srestore.py /var/backup/2006-11-18_03 /home/myuser /home/myuser/old
how do I modify this, so it will loop through all the folder backup and restore the backup?

thanks for any help. :smile:

mrgs
October 4th, 2013, 11:47 AM
Please don't double-post.
Merged.

chris122
October 9th, 2013, 03:57 AM
bump..any ideas guys?

ofnuts
October 9th, 2013, 09:26 AM
I don't quite understand what you want to do... how was the backup created in the first place? You seem to be taking sole random command to restore so backup that was made using a different utility...

Are you sure you need to change the code? Aren't you overlooking some option?