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" <[email protected]> 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 script to perform a backup: > > #!/bin/bash > sudo rdiff-backup > --include-globbing-filelist /home/jjj/rdiff_excludes.txt / > /media/jjj/Data/Backups/ > Full_system_backup_Xubuntu-Bonobo 2> /home/jjj/rdiff-errors.txt > sudo rdiff-backup > --list-increment-sizes > /media/jjj/Data/Backups/Full_system_backup_Xubuntu-Bonobo > > /home/jjj/rdiff-stats.txt > > (Please excuse the wrapping.) > > The rdiff_excludes.txt file contains: > > - /sys > - /media > - /mnt > - /tmp > - /proc > - /home/jjj/.gtkrc-1.2-gnome2/.gvfs > - /home/jjj/.gvfs > - /var/run/cups/cups.sock > - /var/run/postgresql/.s.PGSQL.5433 > - /home/jjj/Distros > - **.iso > - **.ISO > > When I ran the script just now it created the following > rdiff-errors.txt file, which previously has always been empty: > > (All the "SpecialFileError" lines ended in "path too long," most of > which I truncated to keep the from wrapping.) > > SpecialFileError dev/log Socket error: AF_UNIX path too long > SpecialFileError run/acpid.socket Socket error: AF_UNIX path too long > SpecialFileError run/avahi-daemon/socket Socket error: AF_UNIX path > SpecialFileError run/cups/cups.sock Socket error: AF_UNIX path > SpecialFileError run/dbus/system_bus_socket Socket error: AF_UNIX > SpecialFileError run/rpcbind.sock Socket error: AF_UNIX path too > SpecialFileError run/sdp Socket error: AF_UNIX path too long > SpecialFileError run/synaptic.socket Socket error: AF_UNIX path > SpecialFileError run/udev/control Socket error: AF_UNIX path too > ListError run/user/1000/dconf/user/gvfs [Errno 13] Permission > denied: '/run/user/1000/gvfs' > SpecialFileError run/user/1000/keyring-0biKnh/control Socket error: > AF_UNIX path too long > SpecialFileError run/user/1000/pulse/native Socket error: AF_UNIX path > SpecialFileError run/wpa_supplicant/wlan0 Socket error: AF_UNIX path > > Also, I run the file with "./rdiff-backup_script," which immediately > prompts me with "[sudo] password for jjj:." But this time it stopped > and prompted me for the password again in the middle of the backup, > which it never did before. > > The data from today's backup appears OK. But I should also mention that > I tend to rename the previous backup folder and alway do a new full > backup (I have lots of disk space), but today's backup was an > incremental backup. I suspect that may be what caused the errors, but I > don't understand why. I could use some clues here. > _______________________________________________ > PLUG mailing list > [email protected] > http://lists.pdxlinux.org/mailman/listinfo/plug > _______________________________________________ PLUG mailing list [email protected] http://lists.pdxlinux.org/mailman/listinfo/plug
