Giter Site home page Giter Site logo

Comments (5)

markdumay avatar markdumay commented on May 27, 2024 1

OK, created a new sub branch restore that fixes the message.

from synology-docker.

hirenshah avatar hirenshah commented on May 27, 2024

Sorry, I should have been clearer... it doesn't try and extract the file using that path. I think the only issue here is the text you are outputting for "Step 2 from 5" :)

from synology-docker.

markdumay avatar markdumay commented on May 27, 2024

No worries, I copied the original incorrect output below.

root@DiskStation:/volume1/docker/synology-docker# sudo ./syno_docker_update.sh -b /volume1/docker/synology-docker/docker_backup_200611115000.tgz restore
Update Docker Engine and Docker Compose on Synology to target version

Current DSM version: 6.2.3
Current Docker version: 19.03.11
Current Docker Compose version: 1.26.0
Step 1 from 5: Stopping Docker service
pkgctl-Docker stoped.
Step 2 from 5: Extracting Docker backup (/volume1/docker/synology-docker//volume1/docker/synology-docker/docker_backup_200611115000.tgz)
bin/
bin/containerd
bin/auplink
bin/runc
bin/containerd-shim
bin/ctr
bin/dockerd
bin/docker-init
bin/docker
bin/docker-compose
bin/docker-proxy
dockerd.json
ERROR: Docker compose binary could not be extracted from archive

Nevertheless, it should be step 2 out of 5, no? These are the steps for a restore command:

    restore )
        TOTAL_STEPS=5
        detect_current_versions
        execute_prepare
        define_restore
        execute_stop_syno
        execute_extract_backup
        execute_restore_bin
        execute_restore_log
        execute_start_syno
        ;;

from synology-docker.

hirenshah avatar hirenshah commented on May 27, 2024

Before I read your latest message, I had already looked at the script and found the issue. I've not tested it, but can confirm that the change you made is the same as what I had in mind.

from synology-docker.

markdumay avatar markdumay commented on May 27, 2024

Great, I'll merge this branch with the master and will close this issue.

from synology-docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.