Results 1 to 6 of 6

Thread: Complete backup

  1. #1
    Join Date
    Dec 2005
    Location
    Islamabad, Pakistan
    Beans
    573
    Distro
    Ubuntu

    Complete backup

    I have a VPS server which has almost 5G used all in all. I don't want to put it offline, and i need to create a complete backup and with complete backup i mean:

    - home dirs
    - all configurations
    - all installed programs
    - all user/system files

    in other words a complete snapshot of the server state. It would be really great if this process could be incremental so i can use crons to make backups and download them to my local machine with only the changes that took place on server.
    - ^root^, Error404NotFound, sleeping`dragon, |404NotFound| on irc.freenode.net
    Blog | Company | @err404notfound

  2. #2
    Join Date
    Nov 2006
    Beans
    Hidden!

    Re: Complete backup

    Not incremental, but I normally just leave it running overnight.

    sudo dd if=/* of=destination

  3. #3
    Join Date
    Dec 2005
    Location
    Islamabad, Pakistan
    Beans
    573
    Distro
    Ubuntu

    Re: Complete backup

    couple of things:
    1. should dd be done when a filesystem is either not mounted or mounted in readonly?
    2. it would take a lot of space and bandwidth to transfer...
    - ^root^, Error404NotFound, sleeping`dragon, |404NotFound| on irc.freenode.net
    Blog | Company | @err404notfound

  4. #4
    Join Date
    Nov 2006
    Beans
    Hidden!

    Re: Complete backup

    Quote Originally Posted by shoaibi View Post
    couple of things:
    1. should dd be done when a filesystem is either not mounted or mounted in readonly?
    2. it would take a lot of space and bandwidth to transfer...
    1. not mounted
    2. I only do it over a local network, and I back stuff up to dedicated 2TB backup disks, so bandwidth and space aren't much of an issue.

    Alternatively, look into rsync.

  5. #5
    Join Date
    Dec 2005
    Location
    Islamabad, Pakistan
    Beans
    573
    Distro
    Ubuntu

    Re: Complete backup

    good, you are going good...
    But my issues is that its a server located in a different continent and i only have 1M connection.

    I know about rsync, rdiff, rsnaphot, duplicity, etc, but problem with these is restoration takes long and a lot of manual actions. I am looking for a tool based on dd which takes incremental snapshots.
    - ^root^, Error404NotFound, sleeping`dragon, |404NotFound| on irc.freenode.net
    Blog | Company | @err404notfound

  6. #6
    Join Date
    Mar 2009
    Beans
    927
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Complete backup

    I would highly recommend looking into rsync - it will save your hours of time. As for which directories should be backed up, here is my list:
    Code:
    - /root/.gvfs
    - /home/*/.gvfs
    - /root/.local/share/Trash/
    - /home/*/.local/share/Trash/
    - lost+found/
    - /tmp/
    - /cdrom/
    - /media/
    - /mnt/
    - /proc/
    - /sys/

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •