Results 1 to 10 of 10
-
1st Jun 2011, 05:46 AM #1OPWebsite's:
PornoDDL.ws MovizDDL.wsHow to Make Backups on VPS Without WHM/Cpanel?
hello everybody,
Well, recently i have bought a VPS and I got a trial WHM/CPanel with it and i have made the necessary arrangement to shift all my websites on it and i have created their accounts with the trial whm... but now in less than two weeks the trial whm/cpanel will be expired and thus ordering a whm/cpanel addon and he vps will cost me a total of about $40 each month...
and my budget does not permit me so
thus I'm searching a solution to make backups without using WHm/cPanel but couldn't find one that i could understand properly as i'm a newbie in this field .
so can anybody help me out?desibreaker Reviewed by desibreaker on . How to Make Backups on VPS Without WHM/Cpanel? hello everybody, Well, recently i have bought a VPS and I got a trial WHM/CPanel with it and i have made the necessary arrangement to shift all my websites on it and i have created their accounts with the trial whm... but now in less than two weeks the trial whm/cpanel will be expired and thus ordering a whm/cpanel addon and he vps will cost me a total of about $40 each month...:facepalm: and my budget does not permit me so :'( thus I'm searching a solution to make backups without Rating: 5
-
1st Jun 2011, 06:24 AM #2Member
Use kloxo. It has inbuilt backup feature via FTP.
-
1st Jun 2011, 07:09 AM #3OPWebsite's:
PornoDDL.ws MovizDDL.wsno i'm not searching kloxo as i don't want to reinstall os...
moreover kloxo has some bugs..
i'm searching a imple way using ssh
-
1st Jun 2011, 07:23 AM #4Banned
cpanel
without re-installation you can not install a new Control panel.
more over Kloxo is great , give it a try.
-
1st Jun 2011, 07:27 AM #5Respected Developer
Well if you cant afford cPanel it would be best for you to use some other control panel i.e kloxo, webmin, you have to reinstall everything.
This way you will always have issues if you use Trial cpanel and its expired.
Still if you wants to get backups take a look at mysql tutorials
http://www.google.gr/search?aq=f&sou...kup+mysql++cli
RegardsBots Development | Web Development | Wordpress Customization | PSD Conversion
Life has many twists and turns in it, you have to take what you are given and use it for the best.
-
1st Jun 2011, 07:30 AM #6MemberWebsite's:
KWWHunction.com wgtools.comDepends on what you want to backup? Dump the databases to a directory which can't be accessed via http, and tarball it with any other configs etc, gzip it, download.
Code:tar -cf server_backup.tar /home/directoryname gzip server_backup.tar
For example, if I had a site in /home/mysite/public_html/... I could dump the database in that /home/mysite, and tarball it all at once.
Code:mysqldump -u username -p databasename > /home/mysite/mysqlbackup cd /home tar -cf backup.tar mysite gzip backup.tar
-
1st Jun 2011, 07:37 AM #7MemberWebsite's:
uploadingtips.com^ thats all greek to me.
have use kloxo when cpanel was not available...Click Here to Visit UploadingTips.com Exclusive Uploaders Community
-
1st Jun 2011, 09:41 AM #8OPWebsite's:
PornoDDL.ws MovizDDL.wsok E, but here you only explained how to make backup for only a database? but if i want to make a full backup of the site ( the directory itself) is it possible?
-
1st Jun 2011, 05:22 PM #9Respected Member
Then try this for site:
tar -cf site_backup.tar /
gzip site_backup.tar
-
1st Jun 2011, 05:30 PM #10MemberWebsite's:
wautoposter.comSometimes there is a need to backup a CPanel account without logging into the endusers CPanel yourself. In those situations the account can also be backed up via SSH. Every CPanel server comes with scripts that can be executed via SSH. In this case we will use the script: pkgacct
from the /scripts folder on your server.
1. Log into your server by using SSH
* Change to the root user
Code:su – root
Code:cd /scripts
Code:./pkgacct username
The screen output will look similar to this:
Copying domain Config…Done
Copying Mail files….Done
Copying proftpd file….Done
Copying www logs…Done
Grabbing mysql dbs…Done
Grabbing mysql privs…Done
Copying mailman lists….Done
Copying mailman archives….Done
Copying homedir….Done
4. The backup file will be placed in the users home directory.
You can now access the file and copy or move it to your backup drive or download it via ftp.
How to restore a Domain Account via SSH
1. Upload or copy the backup file (Example File Name: cpmove-joeuser.tar.gz) to the domain account Home directory via FTP.
2. Log into your server by using SSH
* Change to the root user
Code:su – root
3. Change directories to the script directory by executing the following command:Code:cd /scripts
Code:/scripts/restorepkg username
(make sure that the file name matches the necessary naming convention – follow the naming scheme seen in our example)
This will restore the domain account from the backup, as well as it will create the CPanel account. We have not tried to do a restore on top of an existing CPanel account yet, but we have heard that this should work just fine. Please test accordingly.
Trasfer Backup to Other server
Code:scp cpmove-user.tar.gz root@newserverip:/home
now root Login new server via putty and run this command
Code:/scripts/restorepkg username
i hope this help you
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
How to download huge Cpanel backups?
By souvikroy1111 in forum Webmaster DiscussionReplies: 9Last Post: 27th Nov 2011, 05:54 AM -
[Shared] UnderHost .:. Offshore Hosting * $5.00 * Daily Backups * cPanel/WHM
By xmsax in forum ArchiveReplies: 4Last Post: 1st May 2009, 09:49 PM -
How to use backups in cpanel?
By TinTin in forum Server ManagementReplies: 2Last Post: 20th Feb 2009, 11:42 AM -
[Shared] UnderHost .:. Offshore Hosting - $5.00 + Daily Backups + cPanel/WHM
By xmsax in forum ArchiveReplies: 9Last Post: 17th Feb 2009, 01:48 PM
themaCreator - create posts from...
Version 3.18 released. Open older version (or...