Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Shells Virtual Desktop
BMail.ag - Secure Email Service
Server.net
CPLicense.net
VPS Server
Buy VPN
Vultr
VMs for AI
HostDare
ReliableSite White-Label Dedicated Hosting for Resellers
InterServer VPS
BMail.ag - Secure Email Service
Best VPN
High-Performance Bare Metal Server Solutions
Karvl.com
Server Mania Cloud Hosting
DataWagon Hosting
AlphaVPS Hosting
Evoxt.com
Clouvider
VPS Hosting with NVMe
Residential IPs in the US & 4G Mobile Proxies in EU & US with Unlimited Bandwidth
ReliableSite White-Label Dedicated Hosting for Resellers
Rabisu - Hosting Solutions
Shells Virtual Desktop
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Looking for Backup Script

gsxgsx Member
edited May 2012 in General

I'm trying to see if I can locate a script that will backup all MySQL databases and all files located in /var/www over either FTP or SSH. Any recommendations?

Comments

  • FranciscoFrancisco Top Host, Host Rep, Veteran

    As far as I know @Aldryic and many others use:

    http://sourceforge.net/projects/automysqlbackup/

    Francisco

    Thanked by 1Ellimist
  • DamianDamian Member

    +1 for automysqlbackup

  • OliverOliver Member, Host Rep

    automysqlbackup is basically all you need... :-)

  • i used phpmybackup years back

  • gsxgsx Member

    Does automysqlbackup also backup files? I would like to backup the /var/www directory as well.

  • OliverOliver Member, Host Rep

    @gsx said: Does automysqlbackup also backup files? I would like to backup the /var/www directory as well.

    No, it just backs up MySQL databases.

    Look at tar or rsync/rsnapshot if you want to backup files.

    Simplest method:
    1. tar -czvf backup.tar.gz /var/www/
    2. Move backup.tar.gz somewhere safe

    :-)

  • AldryicAldryic Member

    @gsx said: Does automysqlbackup also backup files? I would like to backup the /var/www directory as well.

    By itself, it only does SQLdumps. However, it supports pre- and post- run scripts, so you could easily add in directory backups yourself.

Sign In or Register to comment.