Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-28, 17:47:30

Author Topic: Uploading backup to remote FTP  (Read 7707 times)

0 Members and 1 Guest are viewing this topic.

Offline WISTFUL

  • Senior Member
  • *
  • Posts: 247
  • Karma: +0/-0
    • View Profile
Uploading backup to remote FTP
« on: 2013-05-27, 11:26:08 »
I have tried to upload client backup to remote server (resellerclub) with below steps:

1. In Ftp Configuration I check "Upload Files to Remote Server". (when I try to update get "could not connect to ftp server" error but when I check "Dont Verify Ftp Credentials" checkbox and retry, It prompts me "successfully updated for client-myclient" and saves my settings.)

2. then I try '/script/backup --class=client --name=myclient'

Now backup is created under /home/kloxo/client/myclient/__backup and I get two emails that one of them says: "Kloxo Backup Succeeded for 'myclient'" and other one has not any title or message.

And from command line backup I get:
Code: [Select]
Loading the Entire Database
Setting parent of 'mysqldb-xxxxx' to 'client-myclient'
Setting parent of 'domain-domain.ltd' to 'client-myclient'
Setting parent of 'mailaccount-postmaster@domain.ltd' to 'mmail-domain.ltd'
Setting parent of 'ftpuser-domain.ltd' to 'client-myclient'
Done
Saving serialized
Done
Saving serialized second
Done
Taking backup of 'client:myclient'
Taking backup of 'mysqldb:xxxxx'
Taking backup of 'mmail:domain.ltd'
Deleting Old backups.... Will retain 12.
deleting old backups from ftp server
Total list of files in ftp server
Deleting these files on remote server.
Backup has been saved in /home/kloxo/client/myclient/__backup/kloxo-scheduled
But nothing is transferred!
« Last Edit: 1970-01-01, 01:00:00 by Guest »
.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Uploading backup to remote FTP
« Reply #1 on: 2013-06-04, 20:26:49 »
It's your system issue. I have no problem for remote-ftp for this forum.

For testing, try accees your ftp server via browser with format 'ftp://yourusername:yourpassword@yourftpserver'.

You can entry ftp server in panel with 'ftp://yourserverdomain' or 'ftp://yourserverip'. You can try ftps:// instead ftp://
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline WISTFUL

  • Senior Member
  • *
  • Posts: 247
  • Karma: +0/-0
    • View Profile
Re: Uploading backup to remote FTP
« Reply #2 on: 2013-06-05, 07:46:20 »
When I try 'ftp://yourusername:yourpassword@yourftpserver' in firefox, alert me:
Code: [Select]
421 Sorry, cleartext sessions are not accepted on this server.But when I try to connect via WinSCP (Utility like filezilla) with below settings, I have not any problem:
File protocol: FTP
Encryption: TLS Explicit encryption
Host name: myserverip
Port number: 21

I have sent you my FTP login for test
« Last Edit: 1970-01-01, 01:00:00 by Guest »
.

Offline WISTFUL

  • Senior Member
  • *
  • Posts: 247
  • Karma: +0/-0
    • View Profile
Re: Uploading backup to remote FTP
« Reply #3 on: 2013-06-05, 09:39:10 »
I have tested it on local FTP without any problem.
Also I did not get "could not connect to ftp server" error as I said on step 1 of this topic's first post.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Uploading backup to remote FTP
« Reply #4 on: 2013-06-05, 15:10:50 »
I am able access via filezilla with follow this http://digitizor.com/2011/03/02/fix-421 ... -sessions/ (encryption: require explicit over TLS).

Sadly accces like 'ftpes://' not work.

Kloxo/Kloxo-MR access to remote-ftp via mechanism like 'ftp://' or 'ftps://'.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline WISTFUL

  • Senior Member
  • *
  • Posts: 247
  • Karma: +0/-0
    • View Profile
Re: Uploading backup to remote FTP
« Reply #5 on: 2013-06-05, 19:25:32 »
Is it possible to update Kloxo-MR core for support TLS in remote-ftp?
I have bought backup host from resellerclub.com for a year  :(
« Last Edit: 1970-01-01, 01:00:00 by Guest »
.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Uploading backup to remote FTP
« Reply #6 on: 2013-06-05, 21:39:01 »
I am not sure about it. Look like no solution 'ftp over tls' for php code.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline WISTFUL

  • Senior Member
  • *
  • Posts: 247
  • Karma: +0/-0
    • View Profile
Re: Uploading backup to remote FTP
« Reply #7 on: 2013-06-05, 22:00:47 »
It seems that resellerclub supports SFTP via port 22:
http://manage.resellerclub.com/kb/servl ... at208.html

How can I access to remote-ftp via SFTP?
« Last Edit: 1970-01-01, 01:00:00 by Guest »
.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Uploading backup to remote FTP
« Reply #8 on: 2013-06-05, 22:27:46 »
Quote from: "WISTFUL"
It seems that resellerclub supports SFTP via port 22:
http://manage.resellerclub.com/kb/servl ... at208.html

How can I access to remote-ftp via SFTP?
Try set "ftps://<ip_or_domain>:22/" on panel.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline WISTFUL

  • Senior Member
  • *
  • Posts: 247
  • Karma: +0/-0
    • View Profile
Re: Uploading backup to remote FTP
« Reply #9 on: 2013-06-06, 08:52:15 »
For unknown reason I can not connect through SFTP to resellerclub FTP (Also via WinSCP).

Quote from: "MRatWork"
I am not sure about it. Look like no solution 'ftp over tls' for php code.
What do you think about curl?

https://gist.github.com/maxrice/4544344
http://stackoverflow.com/questions/6589 ... p-over-tls
« Last Edit: 1970-01-01, 01:00:00 by Guest »
.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Uploading backup to remote FTP
« Reply #10 on: 2013-06-06, 12:22:21 »
Quote from: "WISTFUL"
For unknown reason I can not connect through SFTP to resellerclub FTP (Also via WinSCP).

Quote from: "MRatWork"
I am not sure about it. Look like no solution 'ftp over tls' for php code.
What do you think about curl?

https://gist.github.com/maxrice/4544344
http://stackoverflow.com/questions/6589 ... p-over-tls
I know that. But Kloxo/Kloxo-MR only need ftp connect to backup process.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline WISTFUL

  • Senior Member
  • *
  • Posts: 247
  • Karma: +0/-0
    • View Profile
Re: Uploading backup to remote FTP
« Reply #11 on: 2013-06-07, 11:46:21 »
Quote from: "MRatWork"
I know that. But Kloxo/Kloxo-MR only need ftp connect to backup process.
OK, But is not it better that Kloxo-MR will also support ftpes?
Many of big hosting companies (e.g. resellerclub) only support ftp over tls!
« Last Edit: 1970-01-01, 01:00:00 by Guest »
.

Offline WISTFUL

  • Senior Member
  • *
  • Posts: 247
  • Karma: +0/-0
    • View Profile
Re: Uploading backup to remote FTP
« Reply #12 on: 2013-06-07, 12:17:37 »
Quote from: "resellerclub"
Please note that it is not possible to access your domain via sftp, but you would need to use ftpes protocol instead of plain ftp for all your domains to access data via ftp. This has been implemented for more security and to prevent delivering password as clear text while connecting to ftp.
« Last Edit: 1970-01-01, 01:00:00 by Guest »
.

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo
Click Here

Page created in 0.032 seconds with 18 queries.

web stats analysis