hi there,

i'm trying to archive backups to a mounted directory. the directory is a remote 
ftp mounted via curlftpfs.
first of all, if i use the web interface it works like a charm. but if i try to 
start it from the shell, i get this error:


Executing: /usr/share/backuppc/bin/BackupPC_archiveHost 
/usr/share/backuppc/bin/BackupPC_tarCreate /usr/bin/split  localhost 5 
/bin/gzip .gz 0000000 /mnt/stratoftp 0 *
Xfer PIDs are now 27834
Writing tar archive for host localhost, backup #5 to output file 
/mnt/stratoftp/localhost.5.tar.gz

gzip: stdout: Input/output error
Executing: /bin/sh -c /usr/share/backuppc/bin/BackupPC_tarCreate -t -h 
localhost -n 5 -s \* . | /bin/gzip > /mnt/stratoftp/localhost.5.tar.gz
Error: /usr/share/backuppc/bin/BackupPC_tarCreate, compress or split failed
Archive failed: Error: /usr/share/backuppc/bin/BackupPC_tarCreate, 
compress or split failed


and the weird thing is, if i execute the failing command from the shell 
directly, it works too:


su backuppc
/usr/share/backuppc/bin/BackupPC_tarCreate -t -h localhost -n 5 -s \* . | 
/bin/gzip > /mnt/stratoftp/localhost.5.tar.gz


this does work. but i would like to have the archive log etc in my web 
interface, so i'm trying to start it like this:


su backuppc -c "/usr/share/backuppc/bin/BackupPC_archiveStart archiveftp 
backuppc localhost"


but this fails with the mentioned error message. im kind of confused.

regards
benjamin

+----------------------------------------------------------------------
|This was sent by [email protected] via Backup Central.
|Forward SPAM to [email protected].
+----------------------------------------------------------------------



------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today
http://p.sf.net/sfu/msIE9-sfdev2dev
_______________________________________________
BackupPC-users mailing list
[email protected]
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to