|
From: | Kevin Crowston |
Subject: | [Duplicity-tracker] [bug #21792] pipe call fails with an error OSError: [Errno 24] Too many open files |
Date: | Fri, 14 Dec 2007 13:08:05 +0000 |
User-agent: | Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.10) Gecko/20071115 Firefox/2.0.0.10 |
Follow-up Comment #7, bug #21792 (project duplicity): Here's my backup script, with a few key variables anonymized. It's called as "backup.sh hourly" by a cron job. #!/bin/sh PATH=/sw/bin:/usr/local/bin:/usr/bin export PATH KEY=xxxxx PASSPHRASE=xxxx export PASSPHRASE GNUPGHOME=/var/root/.gnupg/ export GNUPGHOME BACKUPCONF=$1 BACKUPUSER=me BACKUPHOST=host BACKUPPATH=backup/server-$1 DEBUG=-v5 ulimit -n 2048 /usr/local/bin/duplicity $DEBUG --encrypt-key="$KEY" --include-globbing-filelist /usr/local/etc/duplicity.$BACKUPCONF / scp://address@hidden/$BACKUPPATH ------------------ The globbing filelist is - /**/.Trash* - /private/var/imap/socket - /private/var/imap/proc - /private/var/launchd - /private/var/log - /private/var/run - /private/var/root/Library - /private/var/spool/postfix/private - /private/var/spool/postfix/public - /private/var/tmp - /private/var/vm /private/var/ /Volumes/EXTERNAL/nanobot/daily.0/mysql/ - / -------- In passing, is this the best way to give the two directories I want backed up? It took a bit of experimenting to find this configuration... _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/bugs/?21792> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |