On Wed, 24 Jun 2009 19:02:32 -0700
"Michael M. Moore" <[email protected]> dijo:
> On Wed, 2009-06-24 at 18:01 -0700, John Jason Jordan wrote:
> > ... I have concocted the following which I think will back up
> > everything to the disk in the Ultrabay (assume all one line):
> >
> > rdiff-backup
> > --exclude /proc
> > --exclude/ media
> > --exclude /mnt
> > --exclude /tmp
> > --exclude /home/jjj/.gvfs
> > /
> > /media/disk2/Full_system_backup/
> Yes, I think, but it would be easier if you just fired up gedit and
> typed:
>
> - /proc
> - /media
> - /mnt
> - /tmp
> - /home/jjj/.gvfs
>
> Save that file as whatever.txt (or ~/Documents/whatever.txt -- wherever
> you want to put it). Then run:
>
> rdiff-backup
> --include-globbing-filelist /home/jjj/Documents/whatever.txt
> / /media/disk2/Full_system_backup
OK, I created the globbing file. At 9:32 am I started it. There was
a /media/disk2/Full_system_backup folder already in existence, created
when I ran rdiff-backup the first time a month ago using pybackpack.
The lights on both disks are flickering, and Nautilus reports the date
on the destination folder has changed to today, and I see no new
folders. I think I have success. <crossing fingers>
However, I got an error on the .gvfs file:
j...@devil7:~$ sudo rdiff-backup
--include-globbing-filelist /home/jjj/rdiff_excludes.txt /
/media/disk2/Full_system_backup
ListError home/jjj/.gtkrc-1.2-gnome2/.gvfs [Errno 13] Permission
denied: '/home/jjj/.gvfs'
I assume that means it was not backed up. I wanted to exclude it
anyway, so fine. But I don't like error messages.
I also got pages and pages of additional errors. They were all of three
types, examples here:
UpdateError
sys/devices/pci0000:00/0000:00:1d.7/usb2/usb_endpoint/usbdev2.1_ep00/bmAttributes
Updated mirror temp
file
/media/disk2/Full_system_backup/sys/devices/pci0000:00/0000:00:1d.7/usb2/usb_endpoint/usbdev2.1_ep00/rdiff-backup.tmp.12219
does not match source
And
Exception '[Errno 19] No such device' raised of class '<type
'exceptions.IOError'>': File
"/var/lib/python-support/python2.6/rdiff_backup/robust.py", line 32, in
check_common_error try: return function(*args)
And
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 30, in <module>
rdiff_backup.Main.error_check_Main(sys.argv[1:])
Can someone translate these to English for me?
> Eventually you will most likely want to delete some of the older
> increments. You do that by running:
>
> rdiff-backup --remove-older-than 1W /media/disk2/Full_system_backup
>
> (That will remove increments older than one week. You can remove older
> than one year, two months, three days, four hours, whatever. Adjust the
> "1W" as you wish.)
I have written textbooks where the files never change, but need to be
saved for maybe ten years, for when I need to do a new edition. Every
six months or so I want to start a new Full_system_backup folder and
save the old one forever as a snapshot of everything as of the date it
was last incremented. So I guess the way to do that would be to do an
incremental, then a remove-older-than command for everything older than
a few hours, rename the old folder by (e.g.) appending the (then) date,
and create a new Full_system_backup folder for the next backup.
Is there a way to get a progress bar, or "percentage completed" that
increments, or maybe a "time remaining" number while it is running?
Also, at the end it would be nice to have statistics written to a file
in ~/, or at least displayed in the terminal.
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug