How to backup my sever

There are 5 replies in this Thread which was already clicked 410 times. The last Post () by bigup.

  • 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??

  • 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 -


    Quote

    tar cvpzf backup.tgz --exclude=/proc --exclude=/lost+found --exclude=/backup.tgz --exclude=/mnt --exclude=/sys /


    and restore with this command -


    Quote

    tar 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 sys



    Credit 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!