Hi all. Yes, me again. Nothing bad and I have a petty functional system. Palemoon's config files have some parsing errors that stop FF from opening. I was first excited that FF40 opened to the restore window but then the parsing error and I checked the web for solutions. Nothing really helped. Although I'd like to get a FF version running it's not important at this time. My question is the backup, rsync, that Mark, you got set up for me. I check the discs, mounted or not, edit the script that you wrote so that the discs names match and start the backup. All runs well except that I get many errors of "read-only" like this-"rsync: chown "/mnt/mybackups/backup-home-ubuntu/dvdrip-data" failed: Read-only file system (30)". Is this a concern? Seems like there are some important files that aren't getting backed up (this example is not critical). Should I worry? Should I try a different command? Currently: $dmesg | grep sd ..... [38595.548289] EXT4-fs (sdc1): initial error at time 1521418471: ext4_mb_generate_buddy:758 [38595.548298] EXT4-fs (sdc1): last error at time 1521648999: ext4_do_update_inode:4694 $ blkid -o list device fs_type label mount point UUID ------------------------------------------------------------------------------- /dev/sda1 ext4 / ea9f5446-2b36-4ba1-bcf6-ac786107fd58 /dev/sda5 swap [SWAP] 48168ed7-7baf-4d0c-bd12-2c17c9283680 /dev/sdc1 (not mounted) /dev/sdc5 (not mounted) $ nano ./backup-home.sh #! /bin/sh #set -e REMOTE_TOP_DIR=/mnt/mybackups sudo mkdir -p $REMOTE_TOP_DIR sudo mount /dev/sdc1 $REMOTE_TOP_DIR echo "sudo rsync -av /home/ubuntu/ $REMOTE_TOP_DIR/backup-home-ubuntu" sudo rsync -av /home/ubuntu/ $REMOTE_TOP_DIR/backup-home-ubuntu $ ./backup-home.sh mount: /dev/sde1 is already mounted or /mnt/mybackups busy /dev/sde1 is already mounted on / /dev/sde1 is already mounted on /mnt/mybackups sudo rsync -av /home/ubuntu/ /mnt/mybackups/backup-home-ubuntu stalls here or thereabouts if I've quit and started rsync again with the error msg. after I kill the process...... rsync: mkstemp "/mnt/mybackups/backup-home-ubuntu/.mozilla.bakup/pale moon/firefox/psy468mv.default-1422392796863/ScrapBook/data/20070106182433/.main_p_thumb2_586.jpg.aRdi6k" failed: Read-only file system (30) rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at io.c(504) [generator=3.1.1] I know that when I completed the first backup that Mark had begun, it finished with errors but now it's hanging. Any ideas? Many thanks, Brian
Brian, please do what I told you to do in private email before you continue this long sequence on the list. Examine the important directories in your backup to see that they are good. If so then you're done. Otherwise, after rebooting: You should fsck the external drive filesystem so that it will mount in read/write mode. You can remove directories like ~/.mozilla.backup and other volatile stuff before you back up. Then fix the path to /dev/sd?1 and run the snapshot script.
Thanks Mark. I apologize that I don't fully understand when something like this happens. Especially when the errors change and the script sometimes completes and other times does not with different errors. I will fumble along and try to get a clean snapshot that I can use when I can get to doing a clean reinstall. On 03/21/2018 06:30 PM, Mark Galassi wrote:
Brian, please do what I told you to do in private email before you continue this long sequence on the list.
Examine the important directories in your backup to see that they are good. If so then you're done.
Otherwise, after rebooting:
You should fsck the external drive filesystem so that it will mount in read/write mode.
You can remove directories like ~/.mozilla.backup and other volatile stuff before you back up.
Then fix the path to /dev/sd?1 and run the snapshot script. _______________________________________________ nmglug mailing list nmglug@lists.nmglug.org http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org
NMGLugers, After a reinstall avoid restoring the old settings/config files for your browser and some other applications. Especially if shifting the Desktop environment. Changes in the application and your system and kernel make for problems reading the old files. You can sort through to find a set of bookmarks as a json file and try to copy that to your home directory and then, in Firefox try and Import. If FF balks the file may be incompatible. Re-install is a time to review your settings and preferences and update the User-Mind, ie, make new choices or confirm the old ones. See what you think. Thank you, Ted P. On Wed, Mar 21, 2018 at 12:30 PM, Mark Galassi <mark@galassi.org> wrote:
Brian, please do what I told you to do in private email before you continue this long sequence on the list.
Examine the important directories in your backup to see that they are good. If so then you're done.
Otherwise, after rebooting:
You should fsck the external drive filesystem so that it will mount in read/write mode.
You can remove directories like ~/.mozilla.backup and other volatile stuff before you back up.
Then fix the path to /dev/sd?1 and run the snapshot script.
_______________________________________________ nmglug mailing list nmglug@lists.nmglug.org http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org
So a Solomon's choice though one part of the baby is much smaller. It's unfortunate for me that I had many, many bookmarks and I used Scrapbook and doing this will loose all of those, most probably. Especially Scrapbook as FF55 doesn't support it. The ESR release does though. I know that I made the situation very complex by keeping apps and config files for years but being at the level I am I never had any difficulties until the last update (not distro upgrade). Be that as it may I obviously have to take that path (no pun intended-NOT) and muddle through. I used to just copy my entire home directory over to a new install and all my important files would be there. Thunderbird would launc with all of my emails and the files ordered the same. Loosing that would be, well, I can't express that. In any case, I think that I'll use CCC as I have in the past and set the flag for no errors. It will copy everything, junk and all and then I can sift thru the clone instead of trying to track each error with rsync as they occur, Especially since I am vague on that and I'm sorry Mark, that I am that dense. And I mean that too. I would need someone sith me that could pull off the rsync that is more knowledgeable than I on the command line. Old dog, old tricks. So I'll post the results of the cloning, should be fine as it has never failed yet. Then the rest is just a slog. But I have 4 months of down time to figure it out! Whoopie for me!! PS-Mark, the usb drive will not boot into the "try without installing" mode. I can only run a check disc, which shows no errors. Weird that. Many thanks! I'll be in touch Brian On 03/21/2018 03:34 PM, Ted Pomeroy wrote:
NMGLugers, After a reinstall avoid restoring the old settings/config files for your browser and some other applications. Especially if shifting the Desktop environment. Changes in the application and your system and kernel make for problems reading the old files. You can sort through to find a set of bookmarks as a json file and try to copy that to your home directory and then, in Firefox try and Import. If FF balks the file may be incompatible. Re-install is a time to review your settings and preferences and update the User-Mind, ie, make new choices or confirm the old ones. See what you think. Thank you, Ted P.
On Wed, Mar 21, 2018 at 12:30 PM, Mark Galassi <mark@galassi.org <mailto:mark@galassi.org>> wrote:
Brian, please do what I told you to do in private email before you continue this long sequence on the list.
Examine the important directories in your backup to see that they are good. If so then you're done.
Otherwise, after rebooting:
You should fsck the external drive filesystem so that it will mount in read/write mode.
You can remove directories like ~/.mozilla.backup and other volatile stuff before you back up.
Then fix the path to /dev/sd?1 and run the snapshot script.
_______________________________________________ nmglug mailing list nmglug@lists.nmglug.org <mailto:nmglug@lists.nmglug.org> http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org <http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org>
_______________________________________________ nmglug mailing list nmglug@lists.nmglug.org http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org
participants (3)
-
Brian O'Keefe -
Mark Galassi -
Ted Pomeroy