Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question on backup and restoring #104

Open
killmasta93 opened this issue Jul 11, 2022 · 0 comments
Open

Question on backup and restoring #104

killmasta93 opened this issue Jul 11, 2022 · 0 comments

Comments

@killmasta93
Copy link

Hi
Currently trying out to test the backup and restore feature,

im currently trying to backup a wordpress site container to move to another host

i ran this command to backup


 docker run -d \
>     --name volumerize \
>     -v deepsight_html:/source/html:ro \
>     -v deepsight_db_data:/source/db_data:ro \
>     -v /var/backup:/backup \
>     -v cache_volume:/volumerize-cache \
>     -e "VOLUMERIZE_SOURCE=/source" \
>     -e "VOLUMERIZE_TARGET=file:///backup" \
>     blacklabelops/volumerize

which the outcome was this

docker exec volumerize backup
Local and Remote metadata are synchronized, no sync needed.
Last full backup date: none
No signatures found, switching to full backup.
--------------[ Backup Statistics ]--------------
StartTime 1657568436.81 (Mon Jul 11 19:40:36 2022)
EndTime 1657568436.82 (Mon Jul 11 19:40:36 2022)
ElapsedTime 0.01 (0.01 seconds)
SourceFiles 3
SourceFileSize 12288 (12.0 KB)
NewFiles 3
NewFileSize 12288 (12.0 KB)
DeletedFiles 0
ChangedFiles 0
ChangedFileSize 0 (0 bytes)
ChangedDeltaSize 0 (0 bytes)
DeltaEntries 3
RawDeltaSize 0 (0 bytes)
TotalDestinationSizeChange 143 (143 bytes)
Errors 0
-------------------------------------------------

then i copied these 3 files to my other hosts which i want to move the containers


root@homelab:/var/backup# ls -lah
total 20K
drwxr-xr-x  2 root root 4.0K Jul 11 14:40 .
drwxr-xr-x 15 root root 4.0K Jul 11 13:05 ..
-rw-r--r--  1 root root  161 Jul 11 14:40 duplicity-full-signatures.20220711T194036Z.sigtar.gz
-rw-r--r--  1 root root  164 Jul 11 14:40 duplicity-full.20220711T194036Z.manifest
-rw-r--r--  1 root root  143 Jul 11 14:40 duplicity-full.20220711T194036Z.vol1.difftar.gz

then i try to restore it but the container starts then it stops nor does it show any error

 docker run -d \
 --name volumerize \
 -v deepsight_html:/source/deepsight_html \
 -v deepsight_db_data:/source/deepsight_db_data \
 -v /var/backup:/backup:ro \
 -v cache_volume:/volumerize-cache \
 -e “TZ=Amercia/Bogota” \
 -e “VOLUMERIZE_SOURCE=/source” \
 -e “VOLUMERIZE_TARGET=file:///backup” \
 blacklabelops/volumerize restore

any ideas?

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant