Re: [PLUG] Rdiff-backup script questions

2014-07-07 Thread Steve Dum
In their published examples is the following: In this example we exclude |/mnt/backup| to avoid an infinite loop. |rdiff-backup --exclude /mnt/backup / /mnt/backup| If you haven't changed your command line, you aren't excluding backing up where you are storing the backup -- which should get

Re: [PLUG] Rdiff-backup script questions

2014-07-05 Thread Steve Dum
there are still references to /dev and /var/run in the errors - I didn't include /var before, but most of what's there is installation specific stuff, and run time stuff. Unfortunately, sometimes apache defaults it's data to /var/run/web or something. Since your going after personal files, I

[PLUG] Rdiff-backup script questions

2014-07-04 Thread John Jason Jordan
My main computer is my laptop (Xubuntu 13.10), which has a 512 GB SSD with separate partitions for / and /home, and a 1 TB hybrid drive. I use a simple script to perform a backup: #!/bin/bash sudo rdiff-backup --include-globbing-filelist /home/jjj/rdiff_excludes.txt /

Re: [PLUG] Rdiff-backup script questions

2014-07-04 Thread John Sechrest
does it make sense to try to backup /dev or to try to backup sockets? On Jul 4, 2014 10:17 AM, John Jason Jordan joh...@comcast.net wrote: My main computer is my laptop (Xubuntu 13.10), which has a 512 GB SSD with separate partitions for / and /home, and a 1 TB hybrid drive. I use a simple

Re: [PLUG] Rdiff-backup script questions

2014-07-04 Thread Keith Lofstrom
On Fri, Jul 04, 2014 at 10:16:25AM -0700, John Jason Jordan wrote: - /sys ... - **.iso - **.ISO Don't you want a single asterisk rather than two? /dev has been mentioned - don't back that up, the startup process builds that. Make sure you are using the dateext extension for logrotate. Log

Re: [PLUG] Rdiff-backup script questions

2014-07-04 Thread John Jason Jordan
On Fri, 4 Jul 2014 10:26:29 -0700 John Sechrest sechr...@gmail.com dijo: does it make sense to try to backup /dev or to try to backup sockets? I don't know. Does it? I don't know what any of those files do. But Keith said that /dev is recreated on boot, so probably that should be excluded. As

Re: [PLUG] Rdiff-backup script questions

2014-07-04 Thread John Jason Jordan
On Fri, 4 Jul 2014 12:52:47 -0700 Keith Lofstrom kei...@gate.kl-ic.com dijo: On Fri, Jul 04, 2014 at 10:16:25AM -0700, John Jason Jordan wrote: - /sys ... - **.iso - **.ISO Don't you want a single asterisk rather than two? /dev has been mentioned - don't back that up, the startup process

Re: [PLUG] Rdiff-backup script questions

2014-07-04 Thread Steve Dum
The ** seems to be a rdiff-backup 'feature' matching strings including /'s. so **.iso would find anything ending in .iso in any directory being backed up. You do need to decide if your backing up your personal files or everything. As keith points out using a tool that backs up everything,

Re: [PLUG] Rdiff-backup script questions

2014-07-04 Thread Keith Lofstrom
On Fri, Jul 04, 2014 at 06:31:51PM -0700, Steve Dum wrote: ... (maybe some fiddling with the boot blocks). BTW, I keep spares of the main drives I use a lot, ready to install a restore on. I use dd to copy the first megabyte or so of the raw drives being backed up onto a file on the backup