Skip to content

Question on backup and restoring #104

@killmasta93

Description

@killmasta93

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions