Howdy, Stranger!

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

Advertise on LowEndTalk.com
What is your backup method?
New on LowEndTalk? Please Register and read our Community Rules.

What is your backup method?

lucas01lucas01 Member

Hi everyone,

Can you suggest some backup methods?
BTW I'm using cPanel.

Thanks :)

Comments

  • vyas11vyas11 Member

    I tell my boss that I am fully backed up.
    She thinks I am swamped with work. Gives new tasks to someone else.

    My backup method works well.

  • defaultdefault Member

    tar

    Thanked by 1WebProject

    Fastmako (aff) - another cheap VPS.

  • lucas01lucas01 Member

    @default said:
    tar

    So far is everything ok?

  • gzipped tar

  • thedpthedp Member

    What’s a backup? Never heard, sorry.

    DP - Tech and Hosting related Domain Names for sale. PM for list/details.


  • @thedp said:
    What’s a backup? Never heard, sorry.

    OVH or WebNX?

  • Configure your server with old, vulnerable versions of software so that other people can make a backup of your data, for free.

  • donkodonko Member

    bu-backup (rsync)

    Thanked by 1lucas01
  • NetDynamics24NetDynamics24 Member, Provider

    @lucas01 said:
    Hi everyone,

    Can you suggest some backup methods?
    BTW I'm using cPanel.

    Setup a remote location in WHM, and send you daily cpanel backups there.

    Thanked by 1lucas01
  • I backup my most important files to /dev/null twice daily. Greatest success.

    Thanked by 2LogicX pbx

    I <3 Nexus Bytes and Direct Admin <3

  • umiumi Member

    Another vps or two with folders and database synchronized. Sometimes script can even select the main node - by changing ip with Cloudflare DNS if they have a consensus. Need 3 vps for this, so 2 others agree on a dead one automatically.

    Thanked by 1lucas01
  • angeliusangelius Member

    borgbackup with borgbase, i'm really happy with it :)

    Thanked by 2lucas01 m4nu
  • CabbageCabbage Member

    cron + tar + rclone + school GSuite account that seems to allow unlimited storage.

  • tetechtetech Member

    @default said:
    tar

    You're welcome

  • TejyTejy Member

    Jetbackup + S3.

    Thanked by 1JasonM

    Working for a world-famous cloud and BareMetal company. | Yes, my profile picture is Contabo desktop icon.

  • jtkjtk Member

    @lucas01 said:
    Can you suggest some backup methods?
    BTW I'm using cPanel.

    For those comfortable with the cli, using a common Linux distro, and desiring encryption then Duplicity is an option.

  • defaultdefault Member
    edited April 7

    @Cabbage said:
    cron + tar + rclone + school GSuite account that seems to allow unlimited storage.

    If I were you, I would stop using unlimited GSuite for backups, because there is no privacy with Google, and I would use all that unlimited free storage for mining Filecoin.

    Edit: I know, I am evil.

    Fastmako (aff) - another cheap VPS.

  • doughnetdoughnet Member

    I make a folder on the same drive I’m backing up and then copy everything into that folder.

    If something happens to the drive then I just go into the backup folder on that drive to get the files back!

    Thanked by 1chip
  • SmallWebSmallWeb Member, Provider

    I would recommend/vouch for JetBackup on cPanel.

    Thanked by 1lucas01

    Michael from SmallWeb - Please use official support methods for help.

  • eva2000eva2000 Member

    Multi-tiered backups

    1. web host provided backup/snapshots
    2. write my own backup scripts for myself and my clients with multiple target backup endpoints including S3 compatible storage and mobile push notification support and utilising newer tar 1.32 with faster zstd compression support and newer rsync 3.23 with zstd and xxHash checksum support which can be up to 40x times faster than older tar/rsync versions - see benchmarks etc at https://blog.centminmod.com/2021/01/30/2214/fast-tar-and-rsync-transfer-speed-for-linux-backups-using-zstd-compression/
    3. also developing/testing a Centmin Mod to Centmin Mod full server transfer script(s) (used in above mentioned blog post) which can also double as a backup method to remote server which can either used as a backup staging server or just to clone your setup to a new server :)
    4. all my recent backup scripts also have Cloudflare DNS/Worker API support so I setup a CF 503 maintenance HTML page worker (with IP bypass support to preview site before reopening) which can be enabled/disabled via the backup scripts as well batch update Cloudflare DNS records to switch server IPs in case of the full server transfer script(s) :)

    If you use tar/rsync, make sure you're using tar 1.32 and rsync 3.2.3 with zstd support as they're much faster https://blog.centminmod.com/2021/01/30/2214/fast-tar-and-rsync-transfer-speed-for-linux-backups-using-zstd-compression/ ;)

    * Centmin Mod Project (HTTP/2 support + ngx_pagespeed + Nginx Lua + Vhost Stats)
    * Centmin Mod LEMP Stack Quick Install Guide
  • lucas01lucas01 Member

    @NetDynamics24 said:

    @lucas01 said:
    Hi everyone,

    Can you suggest some backup methods?
    BTW I'm using cPanel.

    Setup a remote location in WHM, and send you daily cpanel backups there.

    Does the account backup option in the cpanel also backup my database?

    Thanked by 1NetDynamics24
  • NetDynamics24NetDynamics24 Member, Provider

    @lucas01 said:

    Does the account backup option in the cpanel also backup my database?

    Yes of course, it is a full backup including files, db and everything else.

    Thanked by 1lucas01
  • SirFoxySirFoxy Member

    download all files, download two .sql files, upload it to google drive ez pz

    Thanked by 1Tony40

    lurking in the shadows like a wombat or some shit

  • h2oh2o Member

    I always do backup and backup's backup.

    Thanked by 1lucas01
  • JordJord Moderator, Provider

    Veeam is prem

    Thanked by 2lucas01 skorous

    BillingServ - Easy, simple, and hassle-free online invoicing solution. Contact us today.
    BaseServ Certified to ISO/IEC 27001:2013

  • corbpiecorbpie Member

    Send in a tech to hotswap every night

    grape

  • m4num4nu Member, Provider
    edited April 8

    Short version: Borgmatic to BorgBase.com, or sometimes a thumb drive.

    (Slightly 😅) longer version: https://docs.borgbase.com/strategy/

    Thanked by 1cheapdave

    Simple and secure Borg Backup hosting from $2/month: BorgBase.com

  • darkimmortaldarkimmortal Member
    edited April 8

    Some people mentioning gzipped tar - worth keeping in mind that any corruption in these files causes loss of everything following the corruption. It’s not a particularly safe format once you get into the many GB region

    I use Borg for regular backups, with monthly raw tar backups to LTO tape in case of issues with Borg

  • rustelekomrustelekom Member, Provider

    First of all this depend from what you want backup. If this related to cPanel user account then internal cPanel backups should be enough. For more security you can download your full backups to reliable filehosting services or something like Google Drive, Yandex Drive, Microsoft OneDrive.
    If you are cPanel host then you still can use internal cPanel backups to separate drive and/or to remote storage.
    If you are dedicated server owner then you can use R1Soft, Acronis CDP backup solution to make backups for whole system - they are commercial product but open source solution also exist (let's say Bacula for example). If you don't need CDP you can use just rsync - in most case it is absolutely enough to make backups of Linux/BSD system.

    Thanked by 1lucas01
  • SWN_Michael SWN_Michael Member, Provider
    edited April 8

    We use JetBackup for Web/Reseller hosting, and do nightly backups with a 5 day retention. All backups are sent offsite once a week. VPS are backed up using the builtin system on Proxmox, with nightly backups.

    Thanked by 1lucas01

    Spearware Networks | AS212647 | Premium Shared, Reseller, and VPS Hosting in Tampa, FL | https://spearwarenetworks.com

  • @lucas01 said:
    Hi everyone,

    Can you suggest some backup methods?
    BTW I'm using cPanel.

    Thanks :)

    if I remember correctly, cpanel have automatic backup with FTP or SSH. You can easly find a vps with high storage and make daily backup without problems ;)

    Thanked by 1lucas01
  • angstromangstrom Member

    @darkimmortal said:
    Some people mentioning gzipped tar - worth keeping in mind that any corruption in these files causes loss of everything following the corruption. It’s not a particularly safe format once you get into the many GB region

    I use tar without gzip and it's worked well so far. You're right that adding gzip makes backups riskier.

    Thanked by 1darkimmortal

    "Linux will run happily with only 4 MB of RAM, including all of the bells and whistles such as the X Window System, Emacs, and so on." (M. Welsh & L. Kaufman, Running Linux, 2e, 1996, p. 32)

  • I put my truck in reverse.

    Thanked by 2doughnet themew
  • SplitIceSplitIce Member, Provider

    I've been backing up to Google Drive (workspaces) for years now. Check on it every 1-2 months. Works wonderfully.

    X4B - DDoS Protection: Affordable Anycast DDoS mitigation with PoPs in Europe, Asia, North and South America.
    Latest Offer: Brazil Launch 2020 Offer
  • AswinAswin Member

    I use restore manager - http://www.gk-root.com/ with own FTP storage for Cpanel servers, easy to backup and restore - incremental

    CloudStick | Cloud-Based Control panel for Ubuntu servers
    User Quota, EasyPHP, Free Team, Multiple PHP versions, Free SSL, GIT WebHook - One-click Sofware installer.

  • bapbap Member
    edited April 9

    me, rclone sync with --backup-dir

    I haven't try, but rclone supports ftp/sftp, if you have ftp/sftp on your cpanel enabled.

  • eva2000eva2000 Member

    @darkimmortal said: Some people mentioning gzipped tar - worth keeping in mind that any corruption in these files causes loss of everything following the corruption. It’s not a particularly safe format once you get into the many GB region

    Luckily, in all my years haven't come across this but yeah it can happen. I've always focussed on backup/restore speed so sort of skipped verification part - only doing optional verification at restore time with optional verification at backup time (though rarely use for speed).

    I use xxhash checksum https://github.com/Cyan4973/xxHash as they're way faster than md5sum

    Example when running my backup script's auto generated MySQL database restore script to a staging MySQL database. The script will only proceed with restore if all xxhash checksum file verifications pass and are ok. Using zstd compression.

    I also have routines which can auto restore MySQL database backups to disposable MariaDB MySQL servers so I can do further in depth data comparisons with original database using other tools.

    time /home/mybackups/wp.example.com/mybackup/restore_wp1010429340db_17968_090421-042212_csv_staging.sh
    wp1010429340db_17968_090421-042212_csv.tar.zst: 92160 bytes                    
    csv_090421-042212/
    csv_090421-042212/13993_postmeta.txt
    csv_090421-042212/13993_commentmeta.sql
    csv_090421-042212/13993_terms.txt
    csv_090421-042212/13993_options.txt
    csv_090421-042212/13993_comments.txt
    csv_090421-042212/13993_term_taxonomy.txt
    csv_090421-042212/13993_users.txt
    csv_090421-042212/13993_terms.sql
    csv_090421-042212/13993_postmeta.sql
    csv_090421-042212/13993_usermeta.sql
    csv_090421-042212/13993_term_relationships.txt
    csv_090421-042212/13993_posts.txt
    csv_090421-042212/13993_usermeta.txt
    csv_090421-042212/13993_commentmeta.txt
    csv_090421-042212/13993_posts.sql
    csv_090421-042212/13993_term_taxonomy.sql
    csv_090421-042212/13993_users.sql
    csv_090421-042212/13993_options.sql
    csv_090421-042212/13993_comments.sql
    csv_090421-042212/13993_links.txt
    csv_090421-042212/13993_term_relationships.sql
    csv_090421-042212/13993_links.sql
    csv_090421-042212/13993_termmeta.txt
    csv_090421-042212/13993_termmeta.sql
    
    
    xxhsum -c csv_090421-042212.xxhash.checksum
    /home/mybackups/wp.example.com/mybackup/csv_090421-042212/13993_commentmeta.sql: OK
    /home/mybackups/wp.example.com/mybackup/csv_090421-042212/13993_commentmeta.txt: OK
    /home/mybackups/wp.example.com/mybackup/csv_090421-042212/13993_comments.sql: OK
    /home/mybackups/wp.example.com/mybackup/csv_090421-042212/13993_comments.txt: OK
    /home/mybackups/wp.example.com/mybackup/csv_090421-042212/13993_links.sql: OK
    /home/mybackups/wp.example.com/mybackup/csv_090421-042212/13993_links.txt: OK
    /home/mybackups/wp.example.com/mybackup/csv_090421-042212/13993_options.sql: OK
    /home/mybackups/wp.example.com/mybackup/csv_090421-042212/13993_options.txt: OK
    /home/mybackups/wp.example.com/mybackup/csv_090421-042212/13993_postmeta.sql: OK
    /home/mybackups/wp.example.com/mybackup/csv_090421-042212/13993_postmeta.txt: OK
    /home/mybackups/wp.example.com/mybackup/csv_090421-042212/13993_posts.sql: OK
    /home/mybackups/wp.example.com/mybackup/csv_090421-042212/13993_posts.txt: OK
    /home/mybackups/wp.example.com/mybackup/csv_090421-042212/13993_termmeta.sql: OK
    /home/mybackups/wp.example.com/mybackup/csv_090421-042212/13993_termmeta.txt: OK
    /home/mybackups/wp.example.com/mybackup/csv_090421-042212/13993_term_relationships.sql: OK
    /home/mybackups/wp.example.com/mybackup/csv_090421-042212/13993_term_relationships.txt: OK
    /home/mybackups/wp.example.com/mybackup/csv_090421-042212/13993_terms.sql: OK
    /home/mybackups/wp.example.com/mybackup/csv_090421-042212/13993_terms.txt: OK
    /home/mybackups/wp.example.com/mybackup/csv_090421-042212/13993_term_taxonomy.sql: OK
    /home/mybackups/wp.example.com/mybackup/csv_090421-042212/13993_term_taxonomy.txt: OK
    /home/mybackups/wp.example.com/mybackup/csv_090421-042212/13993_usermeta.sql: OK
    /home/mybackups/wp.example.com/mybackup/csv_090421-042212/13993_usermeta.txt: OK
    /home/mybackups/wp.example.com/mybackup/csv_090421-042212/13993_users.sql: OK
    /home/mybackups/wp.example.com/mybackup/csv_090421-042212/13993_users.txt: OK
    
    
    wp1010429340db_17968_staging.13993_commentmeta: Records: 0  Deleted: 0  Skipped: 0  Warnings: 0
    wp1010429340db_17968_staging.13993_comments: Records: 1  Deleted: 0  Skipped: 0  Warnings: 0
    wp1010429340db_17968_staging.13993_links: Records: 0  Deleted: 0  Skipped: 0  Warnings: 0
    wp1010429340db_17968_staging.13993_postmeta: Records: 2  Deleted: 0  Skipped: 0  Warnings: 0
    wp1010429340db_17968_staging.13993_posts: Records: 3  Deleted: 0  Skipped: 0  Warnings: 0
    wp1010429340db_17968_staging.13993_options: Records: 133  Deleted: 0  Skipped: 0  Warnings: 0
    wp1010429340db_17968_staging.13993_termmeta: Records: 0  Deleted: 0  Skipped: 0  Warnings: 0
    wp1010429340db_17968_staging.13993_terms: Records: 1  Deleted: 0  Skipped: 0  Warnings: 0
    wp1010429340db_17968_staging.13993_term_relationships: Records: 1  Deleted: 0  Skipped: 0  Warnings: 0
    wp1010429340db_17968_staging.13993_term_taxonomy: Records: 1  Deleted: 0  Skipped: 0  Warnings: 0
    wp1010429340db_17968_staging.13993_usermeta: Records: 15  Deleted: 0  Skipped: 0  Warnings: 0
    wp1010429340db_17968_staging.13993_users: Records: 1  Deleted: 0  Skipped: 0  Warnings: 0
    
    real    0m0.280s
    user    0m0.056s
    sys     0m0.031s
    
    
    diff compare original: wp1010429340db_17968 vs staging: wp1010429340db_17968_staging
    --- /dev/fd/63  2021-04-09 04:23:22.625508331 +0000
    +++ /dev/fd/62  2021-04-09 04:23:22.625508331 +0000
    @@ -1,4 +1,4 @@
    -Database: wp1010429340db_17968
    +Database: wp1010429340db_17968_staging
     +--------------------------+------------+----------+------------+
     |          Tables          | table_type | Columns  | Total Rows |
     +--------------------------+------------+----------+------------+
    
    real    0m0.347s
    user    0m0.093s
    sys     0m0.072s
    

    The xxhash checksum generated file contents for csv_090421-042212.xxhash.checksum created at backup time

    cat /home/mybackups/wp.example.com/mybackup/csv_090421-042212.xxhash.checksum
    0dc9910cd5cb27fb  /home/mybackups/wp.example.com/mybackup/csv_090421-042212/13993_commentmeta.sql
    ef46db3751d8e999  /home/mybackups/wp.example.com/mybackup/csv_090421-042212/13993_commentmeta.txt
    b5f925c5285b9dcb  /home/mybackups/wp.example.com/mybackup/csv_090421-042212/13993_comments.sql
    92d31771019f0a0d  /home/mybackups/wp.example.com/mybackup/csv_090421-042212/13993_comments.txt
    aba8d21a4f258bdb  /home/mybackups/wp.example.com/mybackup/csv_090421-042212/13993_links.sql
    ef46db3751d8e999  /home/mybackups/wp.example.com/mybackup/csv_090421-042212/13993_links.txt
    3f2f5cb6eaf504e2  /home/mybackups/wp.example.com/mybackup/csv_090421-042212/13993_options.sql
    b375ec9a7f662b0f  /home/mybackups/wp.example.com/mybackup/csv_090421-042212/13993_options.txt
    bcb9c4835c696dde  /home/mybackups/wp.example.com/mybackup/csv_090421-042212/13993_postmeta.sql
    e45782a05642dc11  /home/mybackups/wp.example.com/mybackup/csv_090421-042212/13993_postmeta.txt
    da74351216db3e12  /home/mybackups/wp.example.com/mybackup/csv_090421-042212/13993_posts.sql
    0c333e91c8bf3e70  /home/mybackups/wp.example.com/mybackup/csv_090421-042212/13993_posts.txt
    466864a469693327  /home/mybackups/wp.example.com/mybackup/csv_090421-042212/13993_termmeta.sql
    ef46db3751d8e999  /home/mybackups/wp.example.com/mybackup/csv_090421-042212/13993_termmeta.txt
    86896d1f6a606106  /home/mybackups/wp.example.com/mybackup/csv_090421-042212/13993_term_relationships.sql
    3d7f1d2d9f9d9bd1  /home/mybackups/wp.example.com/mybackup/csv_090421-042212/13993_term_relationships.txt
    a669319ed1ca79c8  /home/mybackups/wp.example.com/mybackup/csv_090421-042212/13993_terms.sql
    d27bae9121f01133  /home/mybackups/wp.example.com/mybackup/csv_090421-042212/13993_terms.txt
    46374deb37eaa91a  /home/mybackups/wp.example.com/mybackup/csv_090421-042212/13993_term_taxonomy.sql
    d1e1cadf7cd2bfd6  /home/mybackups/wp.example.com/mybackup/csv_090421-042212/13993_term_taxonomy.txt
    5db1a10bc5392981  /home/mybackups/wp.example.com/mybackup/csv_090421-042212/13993_usermeta.sql
    4698616da78172d9  /home/mybackups/wp.example.com/mybackup/csv_090421-042212/13993_usermeta.txt
    59f812beb9310ced  /home/mybackups/wp.example.com/mybackup/csv_090421-042212/13993_users.sql
    797fb30ea3fd5dc5  /home/mybackups/wp.example.com/mybackup/csv_090421-042212/13993_users.txt
    
    * Centmin Mod Project (HTTP/2 support + ngx_pagespeed + Nginx Lua + Vhost Stats)
    * Centmin Mod LEMP Stack Quick Install Guide
  • rajatrajat Member, Provider

    Jetbackup is good

  • donkodonko Member

    @Aswin said:
    I use restore manager - http://www.gk-root.com/ with own FTP storage for Cpanel servers, easy to backup and restore - incremental

    ssl broken on site and using whmcs nulled?, yes looks very trustable

  • AswinAswin Member

    @donko said:

    @Aswin said:
    I use restore manager - http://www.gk-root.com/ with own FTP storage for Cpanel servers, easy to backup and restore - incremental

    ssl broken on site and using whmcs nulled?, yes looks very trustable

    Have been using it for many servers and cost-wise $3 per month, very cheap. We have to keep the files in our own storage since it is trustable.

    CloudStick | Cloud-Based Control panel for Ubuntu servers
    User Quota, EasyPHP, Free Team, Multiple PHP versions, Free SSL, GIT WebHook - One-click Sofware installer.

  • pbxpbx Member

    @its420somewhere said: I backup my most important files to /dev/null twice daily. Greatest success.

    That's the best solution as it uses very little bandwidth and CPU power + you don't need external storage space.

    If CPU, bandwidth and external storage space are not a problem for you, I'd definitely recommend Borg.

    Thanked by 1its420somewhere
  • elliotcelliotc Member

    Backup in the same physical datacenter with private network. I think I am safe.

    Don't give me hope.

  • pbxpbx Member

    @elliotc said: I think I am safe.

    BEWARE OF WOODEN FLOORS!

  • Cyberpanel FTP to unused racknerd server to my one drive student account

    Thanked by 1dustinc
  • @elliotc said: Backup in the same physical datacenter with private network. I think I am safe.

    oEmJI

  • @pbx said: BEWARE OF WOODEN FLOORS!

    And old generators.

    Thanked by 1pbx
  • Depends on what it is.

    Kubernetes play thing, PV gets backed up to B2 daily
    Proxmox servers - Backup to Proxmox backup server (in a different DC)
    Linux Servers/VM's (Not on a proxmox host) - Restic or Proxmox backup client.

    My Desktop, rarely bother it's mostly games on it anyway.

    Thanked by 2pbx lucas01
  • @donko said:

    @Aswin said:
    I use restore manager - http://www.gk-root.com/ with own FTP storage for Cpanel servers, easy to backup and restore - incremental

    ssl broken on site and using whmcs nulled?, yes looks very trustable

    If you checked it the day before the cert expired, it would have been valid. So you can add, "three days and they still don't realize their cert expired". I've contacted companies before and its usually, "the certificate renewed but the cronjob failed to restart the web server". So? Do your fucking job properly and it wouldn't be an issue.

Sign In or Register to comment.