Streamlined backup and restore: Plannings #184

Open
opened 2026-02-20 13:53:13 +00:00 by pboy · 2 comments
Owner

Goal is to determine in details the objectives of the project and develop the broader steps of implementation.

Goal is to determine in details the _objectives_ of the project and develop the broader _steps of implementation_.
pboy self-assigned this 2026-02-20 13:55:15 +00:00
Author
Owner

Proposal

The discussion so far suggests that the project should be divided into three separate projects.

a) Strengthening Server updates

A system updates are the weakest point in the life cycle of a Fedora server. There is a possibility that afterwards the system will no longer be operational or will only be usable with errors. The aim is to establish a system that creates a backup of the system partitions within a very short time before an update and provides a reliable procedure for restoring the state before the update in case of problems. Particular consideration must be given to lodging in a remote data center without direct access to a terminal or USB ports.

Worksteps

  1. Detailed definition of objectives and requirements
  2. Research and analyze already available solutions
  3. Decision on the path to take
  4. Implementation

So far known possible options for checking are

  • timeshife
  • snapper
  • CalliopeSystem timeshift-autosnap-dnf5

Timeline: Should be implemented with release F45.

b) Streamlining regular Server backups

For regular Server backups we need a reliable, automated procedure including flawless restore. The Focus is on standalone servers without integration into a centralized backup management, but probably includes a cluster of standalone server. Particular consideration should be given to lodging in a remote data center without direct access to a terminal or USB ports as well as privacy of user data.

Worksteps

  1. Detailed definition of objectives and requirements
  2. Research and analyze already available solutions
  3. Decision on the path to take
  4. Implementation

A so far known possible options to check are

  • Duplicity
  • BackupPC
  • rsync+tar
  • ReaR

Timeline: Should be implemented with release F45.

c) Providing Backup Service for local network clients

We need a proven, reliable, easy to use, and automated management procedure of backup and restore. It may not be the ultimate procedure for everything, but a recommendable way for a wide spread use case including central service data, user's private date and databases.

Worksteps

  1. Detailed definition of objectives and requirements
  2. Research and analyze already available solutions
  3. Decision on the path to take
  4. Implementation

A so far known possible candidate to check is

  • UrBackup

Timeline: Should be implemented with release F46.

### Proposal The discussion so far suggests that the project should be divided into three separate projects. a) **Strengthening Server updates** A system updates are the weakest point in the life cycle of a Fedora server. There is a possibility that afterwards the system will no longer be operational or will only be usable with errors. The aim is to establish a system that creates a backup of the system partitions within a very short time before an update and provides a reliable procedure for restoring the state before the update in case of problems. Particular consideration must be given to lodging in a remote data center without direct access to a terminal or USB ports. **Worksteps** 1. Detailed definition of objectives and requirements 2. Research and analyze already available solutions 3. Decision on the path to take 4. Implementation So far known possible options for checking are * timeshife * snapper * CalliopeSystem timeshift-autosnap-dnf5 **Timeline**: Should be implemented with release F45. b) **Streamlining regular Server backups** For regular Server backups we need a reliable, automated procedure including flawless restore. The Focus is on standalone servers without integration into a centralized backup management, but probably includes a cluster of standalone server. Particular consideration should be given to lodging in a remote data center without direct access to a terminal or USB ports as well as privacy of user data. **Worksteps** 1. Detailed definition of objectives and requirements 2. Research and analyze already available solutions 3. Decision on the path to take 4. Implementation A so far known possible options to check are * Duplicity * BackupPC * rsync+tar * ReaR **Timeline**: Should be implemented with release F45. c) **Providing Backup Service for local network clients** We need a proven, reliable, easy to use, and automated management procedure of backup and restore. It may not be the ultimate procedure for everything, but a recommendable way for a wide spread use case including central service data, user's private date and databases. **Worksteps** 1. Detailed definition of objectives and requirements 2. Research and analyze already available solutions 3. Decision on the path to take 4. Implementation A so far known possible candidate to check is * UrBackup **Timeline**: Should be implemented with release F46.
Member

a) Strengthening Server updates
I would put a vote forward for snapm and boom-boot here. This stuff was in the RHEL 10 - https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/10/html/configuring_and_managing_logical_volumes/managing-system-upgrades-with-snapshots and I think it is fair to say that it is a good approach. We probably need to work on a story to automate these snapshots around dnf transactions etc, maybe with a dnf5 pre-transaction hook.
b) Streamlining regular Server backups
I would like to propose either Borg or Restic here. While I am a fan of Restic and have been using it for many years, I believe that in a Server meeting we were made aware that Vorta was being proposed as a backup GUI for Workstation users. Vorta is based on Borg, so in the interests of stronger consistency with other Fedora selected tech, Borg would be the better option here. Downsides to Borg include lack of support on other platforms, requirement for Borg to be installed on the host where you are backing up to, and lack of native support for cloud object storage. Restic handles these problems really well, but is less efficient than Borg. But there is no reason that we can't provide options here.
On the other options proposed here, I would probably put forward the case that ReaR is worth documenting alongside something like Borg, because it provides a bare-metal bootable system image that recovers system state. You could use ReaR to boot and restore a system, and then use Borg to restore particular files. ReaR is also put forward as a solution for RHEL, so it is not unreasonable to include coverage for this.
I think that the other backup approaches mentioned are all pretty dated. Duplicity, BackupPC and rsync+tar use a lot of disk space, memory and CPU.

a) Strengthening Server updates I would put a vote forward for snapm and boom-boot here. This stuff was in the RHEL 10 - https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/10/html/configuring_and_managing_logical_volumes/managing-system-upgrades-with-snapshots and I think it is fair to say that it is a good approach. We probably need to work on a story to automate these snapshots around dnf transactions etc, maybe with a dnf5 pre-transaction hook. b) Streamlining regular Server backups I would like to propose either Borg or Restic here. While I am a fan of Restic and have been using it for many years, I believe that in a Server meeting we were made aware that Vorta was being proposed as a backup GUI for Workstation users. Vorta is based on Borg, so in the interests of stronger consistency with other Fedora selected tech, Borg would be the better option here. Downsides to Borg include lack of support on other platforms, requirement for Borg to be installed on the host where you are backing up to, and lack of native support for cloud object storage. Restic handles these problems really well, but is less efficient than Borg. But there is no reason that we can't provide options here. On the other options proposed here, I would probably put forward the case that ReaR is worth documenting alongside something like Borg, because it provides a bare-metal bootable system image that recovers system state. You could use ReaR to boot and restore a system, and then use Borg to restore particular files. ReaR is also put forward as a solution for RHEL, so it is not unreasonable to include coverage for this. I think that the other backup approaches mentioned are all pretty dated. Duplicity, BackupPC and rsync+tar use a lot of disk space, memory and CPU.
Sign in to join this conversation.
No milestone
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
server/tickets#184
No description provided.