Backup Config Module - Beta - Final stage

Sorry for not using a correct expression.
I was not asking an expire time for the backupset. But a schedule for when the backup is done…

Or that’s not a feature?

For the description issue, maybe a little note into help file could explain this feature

The configuration backup runs every day within cron.daily, that means a random time betwen 3 AM and 22PM.

However, if backup-data is enabled, the configuration backup runs just before the backup-data runs. In other words it obeys the backup-data scheduled time.

This is just an implementation detail, please do not consider it a feature at all :slight_smile:

@davidep I think that a really good feature will be the ability to export / restore selective config sections.
For example restore section from backup only for DHCP and networks and firewall.

Something like select a backup to be restored and have two options: Restore -all or Restore - specific.
And when you select Restore - specific you are presented with a list with checkboxes for each section.

What do you think?

2 Likes

Well, it would be a wonderful feature!

Why do you think it is useful? What scenario are you thinking about?

I was thinking about a similar thing, where individual modules can be included/excluded by the restore procedure.

I want to use a config-backup like a “system template” that can be adapted on individual instances…

Exactly! You can use it as a system template.
Also with the posibility to reset unique items maybe…

The second scenario is when you modified yesterday only the DNS and Users settings and do not want to revert also the users but only DNS.

The idea to Remove modules based on restore is great.

The current backup implementation is designed for disaster recovery scenario. We can push it beyond this, like we’ve done for ns6 upgrade but it’s a risk and it’s very complex.

Modules selection is a possible enhancement, because we have the underlying data required for an implementation.

However resetting unique items, such as selectively restore/merge some parts is much more difficult. We need to merge different versions of the configuration database. Designing an UI for this task is even more difficult IMO.

1 Like

The backup config module has been released:

https://github.com/NethServer/dev/issues/5314#issuecomment-314723268

@translations_team the following resources need translations:

https://www.transifex.com/nethserver/nethserver/BackupConfig/
https://www.transifex.com/nethserver/nethserver/nethserver-backup-configpot/

4 Likes