View previous topic :: View next topic |
Author |
Message |
brasuca n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 25 May 2004 Posts: 22
|
Posted: Fri Jun 04, 2004 10:57 am Post subject: postexec problem |
|
|
hi,
i have add this to my homes share im smb.conf:
preexec = ln -s /home/samba/historialbackups/backup_%u/home/samba/homedir/%u
postexec = tar cfz /home/samba/historialbackups/backup_%u/backup_`date+%d%m-%H%M`.tar /home/homedir/%u
It should do a compressed backup file of the homedir assigned to the user connected, and a link the backup in the user home. The preexec does the link correctly, but the postexec does not make file. It's not about the command, I've tried it in command prompt with a specific user and it worked, but not in postexec.
any idea? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
brasuca n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 25 May 2004 Posts: 22
|
Posted: Fri Jun 04, 2004 3:37 pm Post subject: |
|
|
I caught this error in the samba logs, when disconnected from the share:
Code: |
tar (child): /home/samba/historialbackups/backup_ygor/backup_15997pdc2/home/ygor192.168.10.50.tar$
tar (child): Error is not recoverable: exiting now
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
brasuca n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 25 May 2004 Posts: 22
|
Posted: Mon Jun 07, 2004 11:09 am Post subject: |
|
|
the problem got worse... all it happens now is.... absolutely nothing. I dont' get any log when disconnecting the share, any error, nothing. I can't imagine what is the problem, but it seems that postexec isn't executing. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|