Comments (9)
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.
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.
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.
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 2013correspond 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.
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 2013correspond 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.
Yep saw that too, although -v5
seems a bit too verbose... do you think we should force it anyway?
from duplicity-backup.sh.
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.
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.
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)
- VERSION file issues HOT 1
- Hubic Support HOT 3
- Issue with PASSPHRASE and the ` character HOT 2
- Duplicity 0.7.14 generates warning: Option --include-globbing-filelist is pending deprecation and will be removed in a future release. --include-filelist and --exclude-filelist now accept globbing characters and should be used instead. HOT 1
- [feature request] Support dropbox backend
- Swift variables are exported but never unset
- Can't restore file HOT 1
- Possible issue with Cleanup Option HOT 6
- Feature Request: Only backup when connected to a whitelist of networks HOT 2
- bc: command not found
- gpg: WARNING: "--no-show-photos" is a deprecated option HOT 4
- How to restore the last known backup? HOT 1
- Archives Sizes 200MB HOT 2
- syntax error on line 314 breaks script HOT 1
- How to restore after complete data loss HOT 2
- The authorization mechanism you have provided is not supported HOT 5
- This project is unmaintained as of 2019 HOT 2
- Correct place to put extra S3 params HOT 5
- Archive-dir option? HOT 1
- FilePrefixError: /etc/passwd HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from duplicity-backup.sh.