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: README.rst
+17-5Lines changed: 17 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -123,7 +123,7 @@ The backups are mongorestore compatible. The *--oplogReplay* flag **MUST** be pr
123
123
Run as Docker Container (Experimental)
124
124
~~~~~~~~~~~~~~~~~~~~~~~
125
125
126
-
*Note: you need to use persistent volumes to store backups long-term on disk when using Docker. Data in Docker containers is destroyed when the container is deleted.*
126
+
*Note: you need to use persistent volumes to store backups and/or config files long-term when using Docker. Data in Docker containers is destroyed when the container is deleted.*
127
127
128
128
**Via Docker Hub**
129
129
@@ -147,7 +147,7 @@ ZBackup Archiving (Optional)
147
147
148
148
ZBackup offers block de-duplication and compression of backups and optionally supports AES-128 encryption at rest. The ZBackup archive method causes backups to be stored via ZBackup at archive time.
149
149
150
-
To enable, ZBackup must be installed on your system and the 'archive.method' config file variable *(or --archive.method flag=)* must be set to 'zbackup'.
150
+
To enable, ZBackup must be installed on your system and the 'archive.method' config file variable *(or --archive.method flag=)* must be set to 'zbackup'. ZBackup's compression works best if compression is disabled in the backup phase, to do this set 'backup.<method>.compression' to 'none'.
151
151
152
152
**Install on CentOS/RHEL**
153
153
@@ -161,21 +161,33 @@ To enable, ZBackup must be installed on your system and the 'archive.method' con
161
161
162
162
$ apt-get install zbackup
163
163
164
-
ZBackup data is stored in a repository directory named *'mongodb_consistent_backup-zbackup'* and must be restored using a 'zbackup restore ...' command.
165
164
166
165
**Get Backup from ZBackup**
167
166
167
+
ZBackup data is stored in a storage directory named *'mongodb_consistent_backup-zbackup'* and must be restored using a 'zbackup restore ...' command.
168
+
168
169
::
169
170
170
171
$ zbackup restore --password-file /etc/zbackup.passwd /mnt/backup/default/mongodb_consistent_backup-zbackup/backups/20170424_0000.tar | tar -xf
172
+
173
+
**Delete Backup from ZBackup**
174
+
175
+
To remove a backup, first delete the .tar file in 'backups' subdir of the ZBackup storage directory. After run a 'zbackup gc full' to remove unused data.
0 commit comments