Quote:
Originally Posted by Jase2
Hello Lynne,
Haven't seen if passthru() is enabled on my server, yet (although I think it is) -- but I just noticed the attach, avatars, and profilepics in my forums directory as a .tar file. Any ideas as to why it is saving too my forums directory? I certainly don't have that set for the backup folder.
|
If you are getting some files, then passthru is working fine.
It sounds like either you don't have the correct path set for the backup directory you want them to be moved to, or you don't have the correct permissions set for the directory. The script makes the backup and then moves the file. Looking at the file you attached above, you have this as your line:
$backupto = "/home/user/backups1";
You need to add the trailing slash. It should be:
$backupto = "/home/user/backups1/";