Skip to main content
replaced http://unix.stackexchange.com/ with https://unix.stackexchange.com/
Source Link

I just got a new backup device, and I wanted to start using it with rsync, so I back things up, and the system decides to completely not boot at all. (Here's that question: linklink)

But I solved that problem by omitting the /var directory, but I need to backup things in /var like the www/ directory and other things. How would I go about doing that?

Here's my current rsync code:

rsync -aAXv --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found","/BTSync","/home/cloud7/torrent"} / /mnt/backup/cloud7

I just got a new backup device, and I wanted to start using it with rsync, so I back things up, and the system decides to completely not boot at all. (Here's that question: link)

But I solved that problem by omitting the /var directory, but I need to backup things in /var like the www/ directory and other things. How would I go about doing that?

Here's my current rsync code:

rsync -aAXv --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found","/BTSync","/home/cloud7/torrent"} / /mnt/backup/cloud7

I just got a new backup device, and I wanted to start using it with rsync, so I back things up, and the system decides to completely not boot at all. (Here's that question: link)

But I solved that problem by omitting the /var directory, but I need to backup things in /var like the www/ directory and other things. How would I go about doing that?

Here's my current rsync code:

rsync -aAXv --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found","/BTSync","/home/cloud7/torrent"} / /mnt/backup/cloud7
Source Link

Making rsync backup /var makes the system unstable

I just got a new backup device, and I wanted to start using it with rsync, so I back things up, and the system decides to completely not boot at all. (Here's that question: link)

But I solved that problem by omitting the /var directory, but I need to backup things in /var like the www/ directory and other things. How would I go about doing that?

Here's my current rsync code:

rsync -aAXv --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found","/BTSync","/home/cloud7/torrent"} / /mnt/backup/cloud7