home | list info | list archive | date index | thread index

Re: [OCLUG-Tech] Rsnapshot

Vic,

Thanks for your suggestions I made changes to my rsnapshot.conf and everything 
is working.

=====
Bruce


On April 17, 2017 01:13:47 PM Vic Gedris wrote:
> Hey Bruce,
> 
> Can't open Pastebin while at work (blocked, if you can believe it), but
> here's how I have mine configured.  I just specify the exact directories I
> want backed up on each system:
> 
> From my rsnapshot.conf:
> 
> ###############################
> 
> ### BACKUP POINTS / SCRIPTS ###
> 
> ###############################
> 
> 
> 
> # LOCALHOST
> 
> backup  /boot           saucer/
> 
> backup  /etc            saucer/
> 
> backup  /home           saucer/
> 
> backup  /storage        saucer/
> 
> backup  /root           saucer/
> 
> backup  /var            saucer/
> 
> 
> 
> # morris
> 
> backup  root@morris:/boot       morris/
> 
> backup  root@morris:/etc        morris/
> 
> backup  root@morris:/var        morris/
> 
> backup  root@morris:/root       morris/
> 
> 
> 
>  ... And here's what I end up with:
> 
> 
> root@saucer:~# ls -l /backup/hourly.0/*
> 
> /backup/hourly.0/morris:
> 
> total 16
> 
> drwxr-xr-x   3 root root 4096 Mar 10 07:08 boot
> 
> drwxr-xr-x 103 root root 4096 Apr 14 09:43 etc
> 
> drwx------   6 root root 4096 Jan 31 11:17 root
> 
> drwxr-xr-x  12 root root 4096 Nov 15 08:56 var
> 
> 
> 
> /backup/hourly.0/saucer:
> 
> total 32
> 
> drwxr-xr-x   3 root root  4096 Apr 14 09:42 boot
> 
> drwxr-xr-x 160 root root 12288 Apr 14 09:42 etc
> 
> drwxr-xr-x   8 root root  4096 Feb 27 19:37 home
> 
> drwx------   9 root root  4096 Apr 15 14:09 root
> 
> drwxr-xr-x  18 root root  4096 Jan 18 20:15 storage
> 
> drwxr-xr-x  14 root root  4096 Apr 20  2016 var
> 
> Cheers,
> Vic
> 
> On Apr 17, 2017 12:42, "Bruce Harding" <bruce [ dot ] harding [ at ] gmail [ dot ] com> wrote:
> > Hello,
> > 
> > Got a question about rsnapshot.  I'm backing up two location to a external
> > USB
> > drive.
> > 
> > This first location is my desktop. One of this directories that I want to
> > exclude from backup is Var.  The second location being backup is my
> > server.
> > The only location there I want to back up is Var.
> > 
> > So the question is, how do I set up my rsnapshot.conf file so that is Var
> > is
> > backup on the remote server and excluded on the desktop?
> > 
> > 
> > my rsnapshot.conf = https://pastebin.com/470HY0bm
> > 
> > =======
> > bruce
> > _______________________________________________
> > Linux mailing list
> > Linux [ at ] lists [ dot ] oclug [ dot ] on [ dot ] ca
> > http://oclug.on.ca/mailman/listinfo/linux


references