Home Messages Index
[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index

Re: [News] [Rival] Mono Can't Handle the Facts and Microsoft Employees Promote It

After takin' a swig o' grog, Homer belched out
  this bit o' wisdom:

> Bluehost accounts can be backed up using rsync if you have ssh access.
> You'll also need to add your (home) IP address to a whitelist in the
> cPanel setting to enable remote MySQL dumps (security feature).
>
> This is my backup script:
>
> #!/bin/bash
> rsync -aHvcz --delete --progress -e ssh <user>@slated.org:public_html .
> mysqldump -h slated.org -u <user> -p<pass> <database1> >db1.sql
> mysqldump -h slated.org -u <user> -p<pass> <database2> >db2.sql
> mysqldump -h slated.org -u <user> -p<pass> <database3> >db3.sql
> ######
>
> The various databases are for the installed Web "apps" like Drupal,
> etc., the names of which can be determined from the MySQL section of
> your cPanel page.
>
> Bluehost also has a very good backup policy, where both individual
> accounts and the entire box is backed up regularly (you will have access
> to the former). If you ever delete the remotely stored backup, and you
> don't have a local copy (and haven't rsync'ed either), you can simply
> contact support, and they'll restore your account from the main backup
> (usually no more than 24 hours old) ... pending verified authentication
> of your identity, of course (account details and card number).

Thanks!

-- 
You will hear good news from one you thought unfriendly to you.

[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index