On Wed, 29 Jan 2020 12:41:58 -0800 John Jason Jordan <[email protected]> dijo:
>I have created Rsync_root_excludes.txt with the following: > >#Rsync_root_excludes >/cdrom >/dev >/export >/home/jjj/** >/lost+found >/media >/mnt >/proc >/run >/snap >/tmp I finally just ran the rsync script and all worked as expected except for the /home/jjj/** line. The problem was that there were half a dozen folders in /home besides the crucial jjj folder, plus half a dozen files. I didn't know what any of them were for, so I wanted to keep them just in case. And I'm the only user, so there were no other user folders besides jjj to worry about. The exclude-from line in the rsync command correctly found the excludes file and excluded all the above folders, except that it backed up the /home folder, but left it completely empty - it failed to back up the few files and folders that I wanted to save. Apparently I didn't get the syntax of that line right, but I solved the problem another way. I just sudo-su-ed in the terminal and went to the home folder, then looked in all the folders. They were all empty, so I just nuked them. The files also all turned out to be worthless, so I deleted all of them as well, with the exception of one file: pubring.gpg with a file date of 12/15/2019. Apparently this has something to do with Gnu Privacy Guard. I don't remember ever installing it, and I don't know if I need it, but I left it anyway. Its file date is the day when I copied 18.04 from my old computer to the new one. It won't get backed up, but I can live with one missing file of questionable value. The script also correctly appended the rsync exit data to the one log file that I created. The Home script root cron job runs at 3am, the Root script runs at 4am, and I have created a new job in my own crontab to open a popup with gxmessage at 5am. When I sit down at the computer tomorrow morning I should see a popup on the screen with two lines, one for /home and one for /. I am crossing my fingers. _______________________________________________ PLUG mailing list [email protected] http://lists.pdxlinux.org/mailman/listinfo/plug
