ctengel / objectindex

Index your objects
GNU General Public License v3.0
1 stars 0 forks source link

Figure out a backup strategy for small, changing files #15

Open ctengel opened 2 years ago

ctengel commented 2 years ago
ctengel commented 1 year ago
ctengel commented 1 year ago

Let's plan to write a quick script that leverages tar...

Simple directory with one file per level 0 filesystem backup... filename contains info like

in the metadata file are entries

  1. on local machine, look for recent incremental file
    • create new if too old
  2. check for corresponding OI objects
  3. setup copies of tar list file if needed
  4. run backup
  5. upload/stream to OI
  6. finalize log/metadata file

if we switch to btrfs do that, but short to medium term likely multiple systems that WONT support it, even if medium term some do switch

  1. upload result to oi with appropriate tagging
ctengel commented 1 year ago

Note that the script looking for stuff could use #27 for base use... but no need to jump to #20 ... mediacrawler for backups? i.e. should there be a microservice vs using local files? not for MVP...

ctengel commented 1 year ago

actually the less in the flatfiles the better - we won't have those at restore time! a seperate backup service should not be needed if an appropriate tagging is in objectindex. basically some way to search for available backups of a given host

do we need to have a way to stream these tarfiles to OI?

ctengel commented 1 year ago

Let's say this depends on #11 - this script would simply call that most likely