You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: server/cli/src/backup/README.md
+2
Original file line number
Diff line number
Diff line change
@@ -30,6 +30,8 @@ You will need to specify a backup folder in the configuration `.yaml` files - to
30
30
31
31
Backup will contain a folder with all of the app_data (plugins, static files, etc..) and a folder with either sqlite files or postgres database dump.
32
32
33
+
`max_number_of_backups` in configuration `.yaml` file can be used to limit number of backups that will be kept in backup folder, this will be checked during each backup and extra backup folder will be deleted
Copy file name to clipboardexpand all lines: server/cli/src/cli.rs
+3-1
Original file line number
Diff line number
Diff line change
@@ -134,7 +134,9 @@ enum Action {
134
134
#[clap(short, long)]
135
135
sub_context:Option<String>,
136
136
},
137
-
/// Will back up database to a generated folder (the name of which will be returned). Folder will be generated in the backup directory specified by configuration file
137
+
/// Will back up database to a generated folder (the name of which will be returned).
138
+
/// Folder will be generated in the backup directory specified by configuration file.
139
+
/// User can specify max number of backup to keep, see example configuration file
0 commit comments