Author Topic: [SOLVED] FTP Backups?  (Read 5819 times)

SeanPF

  • Zen Monk
  • **
  • Posts: 79
  • Karma: +2/-0
    • View Profile
[SOLVED] FTP Backups?
« on: October 10, 2010, 02:28:39 pm »
FTP Backups don't seem to do anything at all.

I have a dedicated computer running FTP server, on the same internal network as the Zentyal server (Zentyal internal is 192.168.0.1, and the backup computer is 192.168.0.5).

I know the FTP computer works fine... I can access it from the webrowser on the Zentyal machine by just typing ftp://195.168.0.5.

By the way the backups do work if I set the method to file system.

Grrr. It wont let me upload the screenshot.

Here is what my backup page looks like:

Method: FTP
Host or Destination: 195.168.0.5
User: **
pw: **
Encryption: Disabled
Full Backup Frequency: Daily
Incremental Backup Frequency: Disabled
Backup Process Starts At: 00:00
Kepp Previous full copies: No older than 1 week

And underneath it says: There are no backed up files yet

These are the standard exclusions, I didn't change anything:
Exclude path   /var/cache       
Exclude path   /var/spool         
Exclude path   /tmp         
Exclude path   /media         
Exclude path   /mnt         
Exclude path   /sys         
Exclude path   /proc         
Exclude path   /dev

If I navigate to the FTP server with my broser or ftp client, the directory is completely empty.
« Last Edit: October 20, 2010, 12:21:18 pm by seanpf »

ftahir

  • Zen Apprentice
  • *
  • Posts: 27
  • Karma: +0/-0
    • View Profile
Re: FTP Backups?
« Reply #1 on: October 10, 2010, 02:52:49 pm »
Same case with me
no backups run at all,,even after week..

FutureTechSys

  • Zen Warrior
  • ***
  • Posts: 163
  • Karma: +0/-0
    • View Profile
    • Future Tech Systems, LLC
Re: FTP Backups?
« Reply #2 on: October 11, 2010, 02:38:54 am »
This is what I'm using:

https://spideroak.com/download/promo/fts

I had to follow the below instructions to install a .DEB package manually:

http://linux.about.com/od/ubuntu_doc/a/ubudg21t2.htm

I like their backup service so much I became an affiliate :)

They give you 2 GB for free, and then $10/mo or $100/yr for 100 GB chunks.

I like it because it works similar (but better than) to Carbonite, and it has a GUI that runs in the background.  They are also fully private with zero visibility to even their admins, so make SURE you don't forget your password.
Future Tech Systems, LLC
http://www.FutureTechSys.com

See our Zazen servers running Zentyal!
http://www.futuretechsys.com/small-biz/

SpiderOak online backup - 2GB Free!
https://spideroak.com/download/promo/fts

SeanPF

  • Zen Monk
  • **
  • Posts: 79
  • Karma: +2/-0
    • View Profile
Re: FTP Backups?
« Reply #3 on: October 17, 2010, 12:45:19 am »
Ok I tried out spideroak, and it is junk!

It can't run on startup (unless you're a linux-coding-guru). The program quits everytime I end my SSH session (so there is absolutely no automation, making it useless). And every time I manually run the back up process, it uploads like 50mb worth of changes even though I haven't changed the folder I'm backing up!! Their forums are not helpful.

Doesn't anyone out there have a good backup solution for Zentyal, or know how to get FTP backups working? There is no way I can use Zentyal as my domain server if I can't ensure that users' files are safe! There must be a better solution than a massive Dropbox account.

And backing up to an external drive is not safe IMO... what about fire or theft? I really need remote backups.
« Last Edit: October 17, 2010, 12:46:59 am by seanpf »

FutureTechSys

  • Zen Warrior
  • ***
  • Posts: 163
  • Karma: +0/-0
    • View Profile
    • Future Tech Systems, LLC
Re: FTP Backups?
« Reply #4 on: October 17, 2010, 12:53:42 am »
I installed Spideroak from the desktop of the Zentyal server.  I don't think you have to be a coding guru just to get it to run at startup.  I didn't experience any of the problems you mentioned actually; it only ran the backup once.

Not generally a good idea to install software over SSH when you can avoid it, just my $0.02.  Spend a little time and read the manual before installing, and see if you have better luck.

http://www.google.com/search?q=ubuntu+set+application+to+run+on+startup

Google is your friend as well :-)
Future Tech Systems, LLC
http://www.FutureTechSys.com

See our Zazen servers running Zentyal!
http://www.futuretechsys.com/small-biz/

SpiderOak online backup - 2GB Free!
https://spideroak.com/download/promo/fts

Javier Amor Garcia

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1225
  • Karma: +12/-0
    • View Profile
Re: FTP Backups?
« Reply #5 on: October 19, 2010, 06:03:54 pm »
Instead of this:
Host or Destination: 195.168.0.5

Try something like this:
Host or Destination: 195.168.0.5:/some_dir_path

You can force the backup process with this command:

/usr/share/ebox-ebackup/ebox-remote-ebackup  --full

Koti

  • Zen Apprentice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: FTP Backups?
« Reply #6 on: October 20, 2010, 07:20:34 am »
/usr/share/ebox-ebackup/ebox-remote-ebackup  --full

fails with error on line 328 in EBox.pm

SeanPF

  • Zen Monk
  • **
  • Posts: 79
  • Karma: +2/-0
    • View Profile
Re: FTP Backups?
« Reply #7 on: October 20, 2010, 12:20:59 pm »
Finally worked!

The syntax MUST look exactly like this

Host or Desitination: 192.168.0.5:[port]/[existing_directory]

If you leave out the port, or leave out the directory, it simply wont do anything at all.

This should be in the documention!!!

Also, I only saw the backup files in the directory of the remote maching, the sucsessful backup didn't show up in the interface until I manually rebuilt the list by typing: $ sudo /etc/init.d/ebox ebackup restart

MavRickS

  • Zen Apprentice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: [SOLVED] FTP Backups?
« Reply #8 on: October 20, 2010, 02:20:42 pm »
I had the same problem and I solved it putting the slash at the end of de destination route:

192.168.0.5:[port]/[existing_directory]/

I hope it works for you too.

apicito

  • Zen Apprentice
  • *
  • Posts: 21
  • Karma: +0/-0
    • View Profile
Re: [SOLVED] FTP Backups?
« Reply #9 on: October 30, 2010, 08:32:37 am »
I have same problem with SCP backup versión 2.0.3. and not run this solution.
If I put ":" betwen IP and Dir and press save obtain this message:
Invalid value for target: 192.168.4.6:/backups/. Must be a like 'other.host[:port]/some_dir'
« Last Edit: October 30, 2010, 08:35:11 am by apicito »

sixstone

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1417
  • Karma: +26/-0
    • View Profile
    • Sixstone's blog
Re: [SOLVED] FTP Backups?
« Reply #10 on: November 07, 2010, 07:49:29 pm »
Hi there,

Thanks very much for your help here with troubleshooting. I have updated the documentation to set the required format in this field. [1]

Thanks again.

Best regards,

[1] http://doc.zentyal.org/en/backup.html#configuration-backup-in-a-zentyal-server
My secret is my silence...