I still can not find out waz going on.... Anyone? Bueller?

:)

 OK so i ran this command...

[EMAIL PROTECTED]:~$ /usr/share/backuppc/bin/BackupPC_tarCreate -h localhost -n 14 -s /etc -t /aliases

And the output was this....

./aliases0000644000000000000000000000036410634234246011264 0ustar  rootroot# /etc/aliases
mailer-daemon: postmaster
postmaster: root
nobody: root
hostmaster: root
usenet: root
news: root
webmaster: root
www: root
ftp: root
abuse: root
noc: root
security: root
root: [EMAIL PROTECTED]
clamav: root
amavis: root
logcheck: root
Done: 1 files, 244 bytes, 0 dirs, 0 specials, 0 errors

And the file was NOT restored!?

Was up with that???

the LOG file in /var/lib/backuppc/log  has this in it

2007-06-29 14:15:17 User backuppc requested restore to localhost (localhost)
2007-06-29 14:15:17 Started restore on localhost (pid=5284)
2007-06-29 14:15:21 Restore failed on localhost (BackupPC_tarCreate failed)

On the web gui i get
2007-06-29 14:15:17 Running: /usr/share/backuppc/bin/BackupPC_tarCreate -h localhost -n 14 -s /etc -t /aliases
2007-06-29 14:15:21 Restore failed (BackupPC_tarCreate failed)
  
Just for FYI

joe:/var/lib/backuppc# ls -la
total 12
drwxr-x---  8 backuppc backuppc   91 2007-06-14 12:42 .
drwxr-xr-x 41 root     root     4096 2007-06-27 09:31 ..
-rw-------  1 backuppc backuppc 2258 2007-06-29 14:16 .bash_history
drwxr-x--- 18 backuppc backuppc  134 2007-06-14 10:00 cpool
drwxr-x---  2 backuppc backuppc 4096 2007-06-29 01:00 log
drwxr-x---  6 backuppc backuppc   57 2007-06-14 12:39 pc
drwxr-x---  2 backuppc backuppc    6 2007-02-06 13:46 pool
drwx------  2 backuppc backuppc   54 2007-06-14 12:49 .ssh
drwxr-x---  2 backuppc backuppc    6 2007-06-29 08:48 trash

joe:/etc/backuppc# ls -la
total 172
drwxr-xr-x  2 root root  4096 2007-06-14 12:32 .
drwxr-xr-x 87 root root  4096 2007-06-29 14:16 ..
-rw-r--r--  1 root root   414 2007-02-06 13:46 apache.conf
-rw-r--r--  1 root root 64328 2007-06-14 12:32 configPETER
-rw-r--r--  1 root root 64437 2007-06-29 08:41 config.pl
-rw-r--r--  1 root root  2301 2007-06-14 12:24 hosts
-rw-r--r--  1 root root     0 2007-06-14 09:04 htgroup
-rw-r--r--  1 root root    23 2007-06-19 12:21 htpasswd
-rw-r--r--  1 root root   603 2007-06-29 08:43 localhost.pl
-rw-r--r--  1 root root   244 2007-06-14 12:22 peter.pl
-rw-r--r--  1 root root   147 2007-06-14 12:22 quag.pl
-rw-r--r--  1 root root   147 2007-06-14 12:22 stewy.pl

# User privilege specification
root    ALL=(ALL) ALL
backuppc        ALL=(ALL) NOPASSWD: /bin/tar

joe:/etc/backuppc# grep backup /etc/group
backuppc:x:114:

joe:/etc/backuppc# grep backup /etc/passwd
backuppc:x:114:114:BackupPC,,,:/var/lib/backuppc:/bin/sh

Anything else?


Rob Morin
Dido InterNet Inc.
Montreal, Canada
Http://www.dido.ca
514-990-4444


Randy Barlow wrote:
Rob Morin wrote:
  
2007-06-29 13:35:40 Running: /usr/share/backuppc/bin/BackupPC_tarCreate -h localhost <http://joe.dido.ca:888/backuppc/index.cgi?host=localhost> -n 16 -s /etc -t /updatedb.conf
2007-06-29 13:35:45 Restore failed (BackupPC_tarCreate failed)

I do not get it?  Backup works fine just restore does not..

What else should i be checking... any logs?
    

Hmm, try using su - backuppc to become the backuppc user, and try the 
restore command there and see if you can do it or not.  You can also 
look at the logs on the CGI interface to see if they give you any useful 
info...

  

------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/

_______________________________________________ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/

-- 

Rob Morin
Dido InterNet Inc.
Montreal, Canada
Http://www.dido.ca
514-990-4444
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to