Additional export backups feature.
This commit is contained in:
5
storage/.gitignore
vendored
Normal file
5
storage/.gitignore
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
# Ignore everything in this directory except this folders.
|
||||
*
|
||||
!.gitignore
|
||||
!backups
|
||||
!volumes
|
5
storage/backups/.gitignore
vendored
Normal file
5
storage/backups/.gitignore
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
# Ignore everything in this directory except these files.
|
||||
*
|
||||
!.gitignore
|
||||
!export
|
||||
!tarballs
|
4
storage/backups/export/.gitignore
vendored
Normal file
4
storage/backups/export/.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
# Ignore everything in this directory except this file.
|
||||
*
|
||||
!.gitignore
|
||||
!.rotate_folder.conf
|
9
storage/backups/export/.rotate_folder.conf
Normal file
9
storage/backups/export/.rotate_folder.conf
Normal file
@ -0,0 +1,9 @@
|
||||
# This is a shell script excerpt for configuration purposes only.
|
||||
# Handle with care! Please don't put code here, only variables.
|
||||
|
||||
CLASSES_PATTERN="^([^.]*)\..*\.$HOSTNAME\.(dmp|sql\.gz|tgz|log)$"
|
||||
DOIT="yes" # if empty the script makes a dry run
|
||||
RETAIN_DAYS=7 # retains all files created within that many days
|
||||
RETAIN_WEEKS=0 # retains one file per week/month,
|
||||
RETAIN_MONTHS=0 # created within that many weeks/months
|
||||
|
Reference in New Issue
Block a user