How would i do a complete backup of my debian server incase of any problems and i wanted to restore all my working settings i have now. Im after a making a image backup. If not what do you guys do??
How to backup my sever
- djrikstar333
- Thread is marked as Resolved.
-
-
Lots of very simple solutions out there, Ghost being one of the simplest alternatively Acronis Image. Both of which are very straight forward to use, depending on your server file size you can either us a bootable USB key or an external hard drive. I hope this helps.
-
How would i do a complete backup of my debian server incase of any problems and i wanted to restore all my working settings i have now. Im after a making a image backup. If not what do you guys do??
You can backup with this command -
Quotetar cvpzf backup.tgz --exclude=/proc --exclude=/lost+found --exclude=/backup.tgz --exclude=/mnt --exclude=/sys /
and restore with this command -
Quotetar xvpfz backup.tgz -C /
at that point you just need to restore the directories you've excluded ie.
mkdir proc
mkdir lost+found
mkdir mnt
mkdir sysCredit to Heliode over at Ubuntu Forums!
-
Webmin will let you back everything up but i would suggest that all you really need to do is keep a backup your cam configs as once a server is up and running it tends to stay that way, also a fresh install if the worst come to the worst takes less than an hour.
-
Thanks everyone for their input. Im spoilt for choice.
-
You can backup with this command -
and restore with this command -
at that point you just need to restore the directories you've excluded ie.
mkdir proc
mkdir lost+found
mkdir mnt
mkdir sysCredit to Heliode over at Ubuntu Forums!
once you run this and have the backup
would you still need to install debian then restore the backup?
or is it a complete backup of the hjrd drive?
sorry for the n00b question
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!