modoboa / modoboa-installer

An installer for Modoboa
MIT License
254 stars 135 forks source link

Choose what to back up #535

Closed almereyda closed 4 months ago

almereyda commented 7 months ago

Observed behabiour

The backup will include everything:

$ ./run.py --backup email.ecobytes.net                                                                                                                    
Welcome to Modoboa installer!                                                          

It seems that your config file is outdated. Would you like to update it? (Y/n) 
You might encounter unexpected errors ! Make sure to update your config before opening an issue!
Your mail server will be backed up locally.                   
 !! You should really transfer the backup somewhere else...  
 !! Custom configuration (like for postfix) won't be saved.               
Enter backup path (it must be an empty directory)             
CTRL+C to cancel                                                                       
-> /srv/backup/modoboa                                                                 
Backing up amavis                                                                      
Backing up spamassassin                                                                
Backing up fail2ban               
Backing up modoboa                                                                     
Backing up automx                                                                      
Backing up radicale                                                                    
Radicale files saved       
Backing up uwsgi                                                                       
Backing up nginx                                                                       
Backing up opendkim
DKIM keys saved!
Backing up postfix
Backing up postwhite                                                                   
Postwhite configuration saved!
Backing up dovecot
Backing up mails
^C

We have a separate backup strategy for mails, why we would want to restrict the backup to a functional setup of the system, without actual user content.

Expected behaviour

It is possible to specify which backups to run, or which to exclude.

stale[bot] commented 4 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.