flyingcircusio / backy

3 stars 1 forks source link

support migration of backups on multiple servers #30

Closed ctheune closed 7 months ago

ctheune commented 1 year ago

we regularly need to retire old servers. instead of copying data around we could just let an old server sit around for i.e. 3 months and start placing new backups on a new server. however, operator personnel may stumble over the issue of suddenly not finding older backups and having to hunt them down manually.

it would be nice if a backy status call would also show backups that are located on other backup servers (maybe even in remote locations?!?) so they can then go there to operate on them

and in this distributed setup we need to expire the old backups on the other servers and not just let them sit there infinitely.

this could also help rebalance backups between servers automatically.

ctheune commented 1 year ago

An interesting architecture could be:

The beauty here is that the CLI tools never have to wait for remote server interaction and only operate on local files. Locking needs to be respected, however.

ctheune commented 1 year ago

Aaaaand. This also means that the schedulers will have an API that we might want to integrate with the directory so that admins and customers could check which backups exist and in the future may even be able to browse backups, extract files, etc.

dhnasa commented 1 year ago

api:

todo:

ctheune commented 1 year ago

There's also the integration code for the platform that we need to prepare before rolling this out!

ctheune commented 8 months ago

It's a long story, but we're getting there.

What we identified during review today: