Re: WHAT THE HAY, aBACKUP.
Harold Furbiter <[email protected]>
| Newsgroups | gmane.org.user-groups.linux.nmglug |
|---|---|
| Message-ID | <trinity-fc76417a-f85e-45a9-9b7c-dfd2d1609a06-1602538173067@3c-app-mailcom-lxa05> |
Hi Geoff, I find there is no better way to back up your system than using rsync. Rotate you files every two weeks or a month and get daily snapshots of your entire system without taking up much space, time, or cycles. Cheers, https://linuxconfig.org/how-to-create-incremental-backups-using-rsync-on-linux https://www.linux.com/training-tutorials/how-backup-files-linux-rsync-command-line/ Sent: Monday, October 12, 2020 at 3:10 PM From: "a" <[email protected]> To: [email protected] Subject: Re: [nmglug] WHAT THE HAY, aBACKUP. Hi Geoff a@alap:~$ /home/a/bin/rsnapshotBackup.sh backup of a home ---------------------------------------------------------------------------- rsnapshot encountered an error! The program was invoked with these options: /usr/bin/rsnapshot alpha ---------------------------------------------------------------------------- ERROR: Could not mkpath("/media/a/aBackup/alpha.0/", 0, 0755); done /home/a/bin/rsnapshotBackup.sh: line 6: read: -n: option requires an argument read: usage: read [-ers] [-a array] [-d delim] [-i text] [-n nchars] [-N nchars] [-p prompt] [-t timeout] [-u fd] [name ...] a@alap:~$ /home/a/bin/alpha.20 bash: /home/a/bin/alpha.20: Is a directory a@alt,a Thanks,a On 10/11/20 10:43 PM, Geoff Chesshire wrote: > Hi Anthony, > > You can copy any one of the files like > /media/a/aBackup/alpha.13/alap/home/a/bin/rsnapshotBackup.sh over into > /home/a/bin/ as these are all identical backup copies of the same file. > Then after plugging in your external backup drive, you can run > /home/a/bin/rsnapshotBackup.sh (with no "." at the beginning) in a > terminal to make a new backup. Just be patient to let it finish. > > Thanks, > Geoff Chesshire > > On 10/11/20 8:27 PM, a wrote: >> Hi Geoff. >> /home/a/bin/rsnapshotBackup.sh (Does not exist). Manual: suggests the >> program be run from terminal. Woould the following commend correct >> ./home/a/bin/rsnapshotBackup.sh Any suggestions? >> Thanks,a >> >> a@alap:~$ sudo find / -name rsnapshotBackup.sh >> /home/a/.local/share/Trash/files/bin/rsnapshotBackup.sh >> find: ‘/run/user/1000/gvfs’: Permission denied >> >> On 10/11/20 1:20 PM, Geoff Chesshire wrote: >>> Hi Anthony, >>> >>> I remember when Jason wrote the script in /home/a/bin/rsnapshotBackup.sh >>> that runs the rsnapshot backup commands. We were with you either at the >>> second street brewery or in our office. I think you had to leave before >>> the script could be thoroughly tested. It could possibly be improved, >>> but it should work. >>> >>> The directory aBackup/ should exist on your external backup drive, so >>> that when you plug it into the USB port, it gets mounted at >>> /media/a/aBackup/ ... Then the backup script may be used to run the >>> (well-documented) rsnapshot utility to back up your home directory onto >>> your external backup drive. Obviously this works only if the external >>> backup drive is plugged into the USB port. >>> >>> Thanks, >>> Geoff Chesshire >>> >>> On 10/11/20 12:58 PM, a wrote: >>>> /bin/rsnapshotBackup.sh >>>> >>>> The referenced trash item, /bin/rsnapshotBackup.sh was last accessed >>>> july 19 (in properties) the same date of my last backup file #20 what >>>> do you think put it in the file system and let it rip? The numbered >>>> files13-17 i imagine identify the previous backup up numbered files >>>> corresponding to that on the external drive,i haven't checked if the >>>> external referenced files have content (aside: my backup up external >>>> disk was connected to the computer,relevant?). the presenting problem >>>> manifested by an intermediate "file" flashing on for a fractional >>>> second. i have restored the original icon when i initially copied the >>>> icon content it contained: /rsnapshotBackup.sh that same code >>>> content. what I find missing is the parapathetic flash then disapear >>>> page. which when pressing a small bar which then began the external >>>> save. >>>> >>>> Jason, who seems to be on hiatus, originally installed intalled >>>> aBackup, which speaks to its merit. Searching independently I could >>>> find no supporting text for aBackup. Akkana thanks for your interest. >>>> >>>> On 10/11/20 12:10 PM, Akkana Peck wrote: >>>>> a writes: >>>>>> "/bin/rsnapshotBackup.sh" (attach) is sitting in the "trash", can I >>>>>> copy >>>>>> this part "/rsnapshotBackup.sh" and drop in in the file system and >>>>>> if do >>>>>> drop it in the files system will it auto place in correct order? Any >>>>>> insight? Thanks, a >>>>> Maybe. But it might not be the one you want. It looks like you have >>>>> several files called rsnapshotBackup.sh: >>>>> >>>>> a writes: >>>>>> a@alap:~$ sudo find / -name rsnapshotBackup.sh >>>>>> [sudo] password for a: >>>>>> /media/a/aBackup/alpha.17/alap/home/a/bin/rsnapshotBackup.sh >>>>>> /media/a/aBackup/alpha.16/alap/home/a/bin/rsnapshotBackup.sh >>>>>> /media/a/aBackup/alpha.15/alap/home/a/bin/rsnapshotBackup.sh >>>>>> /media/a/aBackup/alpha.14/alap/home/a/bin/rsnapshotBackup.sh >>>>>> /media/a/aBackup/alpha.13/alap/home/a/bin/rsnapshotBackup.sh >>>>> [ ... ] >>>>>> /home/a/.local/share/Trash/files/bin/rsnapshotBackup.sh >>>>> [ ... ] >>>>> >>>>> So you have the one in the Trash, plus five more in various places >>>>> under /media/a/aBackup. >>>>> >>>>> That one in the Trash could be a really old one. I don't know what >>>>> rsnapshotBackup.sh -- does it restore from an old backup? In that >>>>> case, the one in the Trash could be a super old one, or a bad one >>>>> that didn't work right. >>>>> >>>>> I would guess that the one in /media/a/aBackup/alpha.17 is the >>>>> newest, but I wouldn't assume that without looking at the dates >>>>> on all six of the files. >>>>> >>>>> Personally, I'd be leery of using backup software that (a) doesn't >>>>> have documentation that clearly tells you where to find the restore >>>>> files, and (b) stores things in directories named "alpha". Alpha >>>>> usually means very early software that hasn't been tested much and >>>>> should only be considered experimental. But that's just me. >>>>> >>>>> You should definitely make an offline copy of any files on your disk >>>>> that are really important to you -- e.g. copy them to an external >>>>> hard drive, and then unplug the hard drive -- before running any >>>>> shell script where you're not sure exactly what it does, and where >>>>> you're choosing from six different versions of the script without >>>>> being sure why there are six of them. >>>>> >>>>> ...Akkana >>>>> _______________________________________________ >>>>> nmglug mailing list >>>>> [email protected] >>>>> http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org >>>> _______________________________________________ >>>> nmglug mailing list >>>> [email protected] >>>> http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org >>> _______________________________________________ >>> nmglug mailing list >>> [email protected] >>> http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org >> _______________________________________________ >> nmglug mailing list >> [email protected] >> http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org > > _______________________________________________ > nmglug mailing list > [email protected] > http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org _______________________________________________ nmglug mailing list [email protected] http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org _______________________________________________ nmglug mailing list [email protected] http://lists.nmglug.org/listinfo.cgi/nmglug-nmglug.org