Backing up to MS OneDrive

Gene Heskett gheskett at shentel.net
Wed Mar 4 17:25:51 UTC 2020


On Wednesday 04 March 2020 10:05:51 Liam Proven wrote:

> Has anyone come up with a way to do this?
>
> I have a corporate account with quite a lot of free space, and I'd
> like to back up my various machines to it. Not just by copying files,
> because that would lose all metadata -- I am thinking more like tar or
> something.
>
> Anyone have a working method, without proprietary tools?
>
I would recommend something like amanda, which is in the repos.

If your can make a dir named amandatapes/Dailys on this corporate account 
with subdirs named slot-0 through however long, I use 60, here on a 2T 
drive, you'll have 90% of the setup done. I have on my web page, a 
GenesAmandaHelper.0.61 (which will no doubt need some editing to adapt 
it to your situation).

This is a different way to do backups, so forget the do fulls on Friday 
mindset as amanda juggles the backup schedule to attempt to fill a given 
tape size most efficiently.  It can use dump but tar is the preferred 
method. I've been useing it for about 2 decades, and since I gave up on 
tapes, finding that a virtual tape actually located on a big hard drive 
was about 100,000% more dependable than the tape decks I could afford.

Using my wrapper scripts to drive amanda, I can lose my main drive, go to 
town and get another clean drive, do a minimal install on the new disk 
from a cd or dvd .iso image, do some minor reads from the latest slot-## 
to regain the configs and database data as they existed at the end of 
amanda's last run, circa 3AM this morning, then fire up amandas recovery 
and have my system 100% at the state it was in at nominally 3AM this 
morning when amanda was last executed.

I wrote this wrapper specifically to nullify the loss of its configs and 
database on the failed disk, by stashing them on the end of the same 
vtape it creates on each run.

Yeah, I am blowing my own horn Liam, but once up and running, it has Just 
Worked, every time I have needed it.  And thats what a backup is 
supposed to do.
 > --
> Liam Proven – Profile: https://about.me/liamproven
> Email: lproven at cix.co.uk – gMail/gTalk/gHangouts: lproven at gmail.com
> Twitter/Facebook/LinkedIn/Flickr: lproven – Skype: liamproven
> UK: +44 7939-087884 – ČR (+ WhatsApp/Telegram/Signal): +420 702 829
> 053


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/gene>




More information about the ubuntu-users mailing list