From: Mirco P. <pi...@gm...> - 2008-02-21 11:39:52
|
Hi all. I'm having some troubles restoring big size file. So i've installed samba server on my BackupPC server, and created a stanza like this in smb.conf: ... [restore] comment = Restore Folder path = <my arbitrary path> force user = backuppc force group = backuppc read only = No create mask = 0755 guest ok = Yes ... So i'm able to access remotly to that share where backuppc can write. Now i'd like to modify the link of the file in Backup Browse tree. I see that link is something like: http://<ipaddress>/backuppc/index.cgi?action=RestoreFile&host=<host>&num=<backup#>&share=<share>&dir=<share_filename> and i see that this url run at the end the script: /usr/share/backuppc/lib/BackupPC/CGI/RestoreFile.pm So, i'm here to ask you a little help (obviously if you can...) to edit that restoreFile.pm to allow that: don't start download of the file but create it in the shared folder (listed in samba). And also (why not) make a popup to inform user that the file will be available in the specified folder. I already try as backuppc user to do: backuppc@bakuppc:~$ /usr/share/backuppc/bin/BackupPC_zcat /backuppc/pc/<host>/<backup#>/<share>/<folder>/<filename> > <the same arbitrary path specify in smb.conf>/<filename> and it works without problem of permission or else. Any help will be appreciated! King Regards! M |