Peruttu

cpanel websites backup to ftp location

I have some websites hosted on 3rd party linux server and want script for daily autobackup of data folders & mysql database to remote location via FTP.

The hosting is with cpanel and cron job facility.

I tried couple of scripts from online, but does not do the job the below script is for full backup.

I want daily backup of 30days of spcific folders, mysql database & emails

and monthly full backup of all site.

I want someone to create & setup the script and test it.

* Please provide me with the final price. not the price to start the bid.

Thanks

-------------------------------- SCRIPT -----------------------------------------------------

// First site details

$sites['0']['domaintobackup'] = '[url removed, login to view]';

$sites['0']['cpaneluser'] = 'admin';

$sites['0']['cpanelpass'] = '*********';

$sites['0']['cpanelskin'] = 'paper_lantern';

//Second site details

$sites['1']['domaintobackup'] = '[url removed, login to view]';

$sites['1']['cpaneluser'] = 'admin';

$sites['1']['cpanelpass'] = '*********';

$sites['1']['cpanelskin'] = 'paper_lantern';

// FTP host details

$ftpmode = 'ftp'; // 'ftp' for active,

$ftpuser = 'sback';

$ftppass = '*********';

$ftphost = '[url removed, login to view]'; // Full hostname or IP address for FTP host

$ftpport = '21';

$ftpfold = '/sback'; // Destination folder for backup files

$notifyemail = 'contact@[url removed, login to view]';

$secure = 0; // Set to 1 for SSL (requires SSL support)

$debug = 0; // Set to 1 to have web page result appear in your cron log

// *********** NO CONFIGURATION ITEMS BELOW THIS LINE *********

foreach ($sites as $site)

{

if ($secure)

{

$url = 'ssl://'.$site['domaintobackup'];

$port = 2083;

}

else

{

$url = $site['domaintobackup'];

$port = 2082;

}

$socket = fsockopen($url,$port);

if (!$socket)

{

echo 'Failed to open socket connection… Bailing out!\n';

exit;

}

$authstr = $site['cpaneluser'] . ':' . $site['cpanelpass'];

$pass = base64_encode($authstr);

$params = 'dest=$ftpmode&email_radio=1&email=$notifyemail'.

'&server=$ftphost&user=$ftpuser&pass=$ftppass&port=$ftpport'.

'&rdir=$ftpfold&submit=Generate Backup';

fputs($socket,'POST /frontend/'.$site['cpanelskin'].

'/backup/[url removed, login to view]'.$params.' HTTP/1.0\r\n');

fputs($socket,'Host: ' . $site['domaintobackup'] . '\r\n');

fputs($socket,'Authorization: Basic $pass\r\n');

fputs($socket,'Connection: Close\r\n');

fputs($socket,'\r\n');

while (!feof($socket))

{

$response = fgets($socket,4096);

if ($debug)

{

echo $response . '\n';

}

}

echo $site['domaintobackup'] . 'complete.\n';

fclose($socket);

}

Taidot: Apache, Linux, PHP, Shell Script

Näytä lisää: want to revamp my actual mobile website for www.my-squash.com. want to keep the same color identity but I want to have a better , Hello wonderful designers! I need a website mockup created for a new website for my agency. I want it to be AMAZING and I need y, i would like someone to design my logo for use on my website and email signature i have a clear idea of what i want thanks, i want to link my website with wordpress so i can design it, ftp website backup on joomla, website backup script ftp, cpanel backup ftp, automated cpanel backup ftp, website backup automatic ftp, backup website automatically ftp, automatic website backup ftp, backup ftp vbnet, auto backup ftp source, restore cpanel server backup, open source auto backup ftp service, cpanel database backup saves byte file, vbnet automated backup ftp, backup ftp opensource, open source backup ftp, backup ftp open source

Tietoa työnantajasta:
( 5 arvostelua ) Manchester, Ireland

Projektin tunnus: #15278366

21 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön

feelinnovator

Hello, i am experienced with cPanel and WHM and able to setup backup script for you. Ready to start working immediately. Thanks. Relevant Skills and Experience PHP, cPanel, WHM API Proposed Milestones £44 GBP - Final

£44 GBP 1 päivässä
(93 arvostelua)
6.2
ownmyserver

Hi, I have reviewed your requirement and i find this quite interesting, our site is: [login to view URL] will provide quick and perfect solution for your all type of technical issues/requirement Relevant Skills Lisää

£33 GBP 1 päivässä
(182 arvostelua)
6.2
£38 GBP 0 päivässä
(127 arvostelua)
5.9
voidead

Hi i am linux administrator and having sound knowledge of of php/bash/shell scripting. I will make the script that can run on your cpanel to transfer backup to ftp location as soon as possible Relevant Skills and Expe Lisää

£49 GBP 3 päivässä
(142 arvostelua)
5.7
webperfection123

Building long term business relationships is my highest priority. About Me : => Strong database knowledge specifically MySQL. => Extensive knowledge of PHP, Wordpress, Shopify, Magento, JavaScript, CSS and HTML. Lisää

£40 GBP 0 päivässä
(77 arvostelua)
5.7
numerichost

Hi, I have about 10 years experience in linux administration, i prefer to work with web hosting control panels like cpanel, plesk, , zpanel etc Relevant Skills and Experience I have expertise in setup and management Lisää

£38 GBP 1 päivässä
(39 arvostelua)
5.0
Gauravsingh9828

Hi I will implement script for backup of your site . I have 3 years of experience as Linux admin. I can start backup right away Thanks

£33 GBP 1 päivässä
(53 arvostelua)
5.2
sumitmakkar

Expert in server management SSL Certificate, Cpanel/WHM, Dns,Centos, web panel, Apache, Plesk Panel IIS,Debian, Nginx, Ubuntu, Zimbra Mail server power MTA, enterspire,Aws, Migration services Relevant Skills and Ex Lisää

£40 GBP 0 päivässä
(50 arvostelua)
4.9
abbalove

Hi, do you still need help for it ? I can create the backup script. Rocky Stay tuned, I'm still working on this proposal.

£28 GBP 10 päivässä
(41 arvostelua)
5.0
NehaRandhawa05

Expert in server management SSL Certificate, Cpanel/WHM, Dns,Centos, web panel, Apache, Plesk Panel IIS,Debian, Nginx, Ubuntu power MTA, enterspire,Aws,Expert in Migration services Relevant Skills and Experience 6+ Lisää

£27 GBP 0 päivässä
(16 arvostelua)
4.4
chiragdosi

5+ years of experience in Managing Core Server, Dedicated Server, VPS Server, Backup and [login to view URL] it very simple and significant, I have read out your description and I can do this job. Relevant Skills and Lisää

£30 GBP 1 päivässä
(20 arvostelua)
4.6
pankajsaini1989

You want script for daily autobackup of data folders & mysql database to remote location via FTP. The hosting is with cpanel and cron job facility. Also want to create & setup the script and test it. Relevant Skills Lisää

£133 GBP 10 päivässä
(7 arvostelua)
3.9
infihost

Hi, We will create backup of 30days of spcific folders, mysql database & emails and monthly full backup of all sites. Thank you. . Relevant Skills and Experience We have expertise in this with more than 5 years expe Lisää

£33 GBP 1 päivässä
(17 arvostelua)
3.7
strawmedia

I have reviewed your requirements and completely understand it. I am an expert and professional in my field. I can develop your preconceived website consisting of your intended pages and features. Here are some of m Lisää

£28 GBP 3 päivässä
(3 arvostelua)
3.0
adminitpulp

Hello, We are a team of developers with 12+ years experience. We are also very much familiar with html/jquery/js/frameworks and developed projects in zencart,wordpress, codeignitor, laravel, etc. Relevant Skills and E Lisää

£28 GBP 10 päivässä
(3 arvostelua)
2.2
£28 GBP 10 päivässä
(1 arvostelu)
0.6
sachdeepsingh

I have completed websites in wordpress and php. Relevant Skills and Experience Web Designer Proposed Milestones £28 GBP - After Work What kind of website it is?

£28 GBP 10 päivässä
(0 arvostelua)
0.0
Entfak

Simple Relevant Skills and Experience Im work as Linux administrator last 5years, with shared hosting, VPS And dedicate servers

£50 GBP 5 päivässä
(0 arvostelua)
0.0
£33 GBP 10 päivässä
(0 arvostelua)
0.0
dofastweb

if you not satisfied , just one ping and get your money back. attractive design , 100% speed & secure development .its my promise. Relevant Skills and Experience Wordpress, Codeigniter, Node Js,Angular , HTML , CSS , Lisää

£28 GBP 10 päivässä
(0 arvostelua)
0.0