Coder Social home page Coder Social logo

Comments (9)

zertrin avatar zertrin commented on July 26, 2024

Hum have you tested it? calling the duplicity_backup function should normally log to file (see line 380).

For the second question, yes, see issue #5 ;)

from duplicity-backup.sh.

ilium007 avatar ilium007 commented on July 26, 2024

Ahh - I missed the -t option !

Restoring one file from took an inordinate amount of time but it did restore and this is what I got in the log:

Email alert sent to [email protected] using ssmtp
Removing lock. Exit code: 0
--------    START DUPLICITY-BACKUP SCRIPT    --------

Attempting to acquire lock /var/log/backup.lock
successfully acquired lock.
Local and Remote metadata are synchronized, no sync needed.
Last full backup date: Wed Jan  2 18:52:57 2013
--------    END DUPLICITY-BACKUP SCRIPT    --------

from duplicity-backup.sh.

zertrin avatar zertrin commented on July 26, 2024

Hum,

Local and Remote metadata are synchronized, no sync needed.
Last full backup date: Wed Jan 2 18:52:57 2013

correspond to what is logged from duplicity's output.

Maybe you should run the script in dry-run mode to see which duplicity command is actually called, and then try to run it yourself (not from the script) to see if the problem is duplicity not giving much output or our script not logging correctly...

from duplicity-backup.sh.

ilium007 avatar ilium007 commented on July 26, 2024

running with set -x now

On 02/01/2013, at 9:43 PM, zertrin [email protected] wrote:

Hum,

Local and Remote metadata are synchronized, no sync needed.
Last full backup date: Wed Jan 2 18:52:57 2013

correspond to what is logged from duplicity's output.

Maybe you should run the script in dry-run mode to see which duplicity command is actually called, and then try to run it yourself (not from the script) to see if the problem is duplicity not giving much output or our script not logging correctly...


Reply to this email directly or view it on GitHub.

from duplicity-backup.sh.

ilium007 avatar ilium007 commented on July 26, 2024

Ok - it looks as though the restore option give no verbose output until you crank it up to 5, ie. duplicity -v5

Cheers

On 02/01/2013, at 9:44 PM, Brant Winter [email protected] wrote:

running with set -x now

On 02/01/2013, at 9:43 PM, zertrin [email protected] wrote:

Hum,

Local and Remote metadata are synchronized, no sync needed.
Last full backup date: Wed Jan 2 18:52:57 2013

correspond to what is logged from duplicity's output.

Maybe you should run the script in dry-run mode to see which duplicity command is actually called, and then try to run it yourself (not from the script) to see if the problem is duplicity not giving much output or our script not logging correctly...


Reply to this email directly or view it on GitHub.

from duplicity-backup.sh.

zertrin avatar zertrin commented on July 26, 2024

Yep saw that too, although -v5 seems a bit too verbose... do you think we should force it anyway?

from duplicity-backup.sh.

ilium007 avatar ilium007 commented on July 26, 2024

Yes, I agree. Too verbose and I still don't get a list of files it has processed !

On 02/01/2013, at 10:34 PM, zertrin [email protected] wrote:

Yep saw that too, although -v5 seems a bit too verbose... do you think we should force it anyway?


Reply to this email directly or view it on GitHub.

from duplicity-backup.sh.

zertrin avatar zertrin commented on July 26, 2024

Ok then I'll just let it like that for now... It's more a problem with duplicity itself than of the script... Could be reported upstream.

When restoring something you'll usually check if the restored files are there anyway so I don't think it's very critical.

Moreover restore operations are not really meant to be a cron job so it shouldn't really bother not to have a verbose enough log per email...

I'll close it then. As always feel free to comment or reopen it if anything new happens :)

from duplicity-backup.sh.

ilium007 avatar ilium007 commented on July 26, 2024

Will do - thanks

On 02/01/2013, at 10:40 PM, zertrin [email protected] wrote:

Ok then I'll just let it like that for now... It's more a problem with duplicity itself than of the script... Could be reported upstream.

When restoring something you'll usually check if the restored files are there anyway so I don't think it's very critical.

Moreover restore operations are not really meant to be a cron job so it shouldn't really bother not to have a verbose enough log per email...

I'll close it then. As always feel free to comment or reopen it if anything new happens :)


Reply to this email directly or view it on GitHub.

from duplicity-backup.sh.

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.