Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: (Browser: Brave) backup

  1. #11
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    21,055
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: (Browser: Brave) backup

    If all you want is a web browser, there are much better distros which will be 100x faster than Ubuntu. Less code, means less risk. Heck, because those other browser-centric distros are so very small, you could download a fresh one every week to remain patched in less than 1 minute.

    TinyCore with the browser is 16MB last time I checked. If you want/need libreoffice, I think that variant is 64MB. It runs from RAM. Ain't nuthin' faster.

    If you need more than a simple browser, there are ChromiumOS distros. These are like ChromeOS (aka Chromebooks), just with most of the google stuff removed and easier access to local storage while still being almost as secure. An old laptop from 2010 would fly with that OS. https://www.electromaker.io/blog/art...ome-os-is-best has a few comparisons. There is a Raspberry Pi v4 image - I bet that flies.

    I've used TinyCore for online banking for about a decade. I had to do something for my corporate accounts to ensure we didn't get our accounts hacked and have payroll stolen. Brian Krebs recommends running any online banking from read-only Linux storage. https://krebsonsecurity.com/online-b...or-businesses/

  2. #12
    Join Date
    May 2010
    Beans
    566

    Lightbulb Re: (Browser: Brave) backup

    Quote Originally Posted by TheFu View Post
    Code:
    $(date +\%Y\%m\%d)
    is the same as
    Code:
    $(date "+%F")
    Potato - tomato.
    As a professional software developer, I learned long ago to use the fewest characters possible. Less risk and we are less likely to confuse %m and %M which would be minute/month.


    isn't clear enough to respond. Getting different results is easy, just depends on what sort of different results are wanted.
    No worries dude. Just didn't see it in your original script

  3. #13
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    21,055
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: (Browser: Brave) backup

    Quote Originally Posted by ActionParsnip View Post
    No worries dude. Just didn't see it in your original script
    It isn't needed in the original script. rdiff-backup handles backup-set versioning for us.
    That's the difference between a backup tool and rsync.

    I wouldn't use rsync directly. There are plenty of rsync+hardlink scripts out there. Remember seeing my first around 1994 in a UNIX Power Tools book. That script will still work today, BTW.
    Heck, rsnapshot is in the Ubuntu Repos! https://ubuntu.com/server/docs/tools-rsnapshot
    https://rsnapshot.org/
    http://www.mikerubel.org/computers/rsync_snapshots/

    There's also rbackup http://rbackup.lescigales.org/ That link shows the storage required when using rsync vs rsnapshot vs rdiff-backup. Summary:

    Suppose you need to backup 1,000 MySQL databases, and that you use a program like mysqldump to dump each sql database into a database.sql file. Now suppose you have to make such a backup every day, that each database grow by 8 kilobytes a day and that each former database is 1 megabyte. With rsync (or rsnapshot), each time a change is made to the database dump file, it will have to store a new complete copy of the file. With rdiff-backup, you only store differences between files as they appear (and differences are actually compressed by gzip by default).
    • In 1 week, you would need 7.97 GB of storage if you were using rsync / rsnapshot against 1.03 GB if you were using rdiff-backup / rbackup !
    • In 3 months, you would need 119.42 GB of storage if you were using rsync / rsnapshot against 1.66 GB if you were using rdiff-backup / rbackup !
    • In 1 year, you would need 864.24 GB of storage if you were using rsync / rsnapshot against 3.76 GB if you were using rdiff-backup / rbackup !
    That's why I use rdiff-backup. It turns out that rdiff-backup is actually faster than rsync too.

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •