MyBB Community Forums

Full Version: Possible to email scheduled backups?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4
Now it's showing unknown host for both the name and the IP.
can you still ftp via filezilla?
Yep.

I'm going to be in hysterics if after all this, the solution was something painfully simple!
when you switched to use IP, did you include the port?

and yes, it is very simple, if you can get it to work.
Port included, yes.
i dont know what to tell you. do you have another location you can try to connect from? a friends house or work? someplace that will give you a different IP address and not be on the same network?
I'm afraid not.

Could it have anything to do with it being SFTP? I know you mentioned that you weren't sure, but perhaps there is another command for it? Google hasn't helped so far, so I'm hoping another member might be able to pop in and help out on that.
sftp is a different process. You can install winscp and use it via command line with a script file as well

this LINK gives you some examples.
Hmm...I've made slightly more progress this time, but it's not quite there yet. I can manually get to the server, browse the directories, and download the backups, but scripting it won't work. Going by the link you gave me, I have a .bat file called Backup. This file is located in the folder I wish to download my backups to. So contained in the .bat file, I have the following:

@echo off
cd C:\Program Files (x86)\WinSCP
WinSCP.com /script=BackupScript.txt

Then, in the .txt file, I have this:

open domain:port
<user>
<pass>
cd /var/www/siteroot/forums/admin/backups
get *.gz D:\Start\Other\Website\Backups\*.gz
close
exit

Typing each line manually into cmd works.
open a command prompt and then launch the .bat manually (versus double clicking it). this should let you see what output is being returned and any possible error messages.
Pages: 1 2 3 4