All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
CDP.me - Open Source Linux Server Backups
Hey guys,
I've been hearing and experiencing some RAID failures / unexpected data losses from various VPS providers recently. Although I had my backups I'm sure many others on the same nodes didn't.
As always, backing up your data is your responsibility but many VPS users don't know or how to back up. Backup servers are also extremely cheap from providers such as NanoVZ, DrServer and Backupsy/VPSDime so there is no reason to not backup
I've written the backup script to help users to back up their critical data easily. Everything is written in PHP, with Json files as databases. There is no MySQL involved so the script should use a fairly low amount of resources.
The script features
- Web Based Administration Panel
- Add Backup Servers
- Add Backup Jobs
- Add Users
- Add ACL's
- View Backups
- Download Backups
- Restore Backups
- Session security (IP Check + inactivity timeout)
- Json Flat File Database (no MySQL database involved)
- Backups ran using cron
- Server authentication using password or RSA key
- Email notifications (sendmail / SMTP)
- Backup rotation / auto delete
- Full Backups
- Incremental Backups
- MySQL Backups
- OpenVZ Node Backups
- cPanel Account Backups
- 2-Factor Authentication (Google Authenticator)
- Backup Encryption (AES-256/GPG)
- User accounts / ACL's
The script installation is pretty straight forward, just run the installer on the backup server then add servers/jobs and that's it. You don't even need to install an agent on the source server.
The whole project is available on GitHub so you can see what it's doing on your servers, please also feel free to report bugs or contribute to it.
- Some screenshots: New | Old
- Website/Installation Instructions: https://cdp.me/
- GitHub Repo: https://github.com/PetaByet/cdp
(CDP means Continuous Data Protection)
Thank you.
Comments
Another great tool from you @PetaByet
will be using this for backups of NanoCP's Testing Environment
Oh wow, that's awesome. I wonder what the licence is on it..
Seems to be GPLv2
Thank you @AutoSnipe & @0xdragon.
The license is indeed GNU GPL v2.
Looks great!
thanks
Any recommendations for which flavor of Linux this works best on?
centOS was mentioned I guess.
@PetaByte +1 for your release mate.
CentOS 6.x for the backup server, any Linux distro (preferably centos/ubuntu/debian) for source server. You only need to install the script on the backup server.
Coool you rock @PetaByte
Thanks! Didn't see that mentioned anywhere, going to try it soon.
Only reason for CentOS backup server == install script? I'd assume the PHP code can run just fine on Debian/Ubuntu?
Screenshots look great!
How would people feel about storage being given as a service (onApp backed storage @ $0.10/GB and distributed file system @ $0.02/GB)?
Site's down?
hope will have debian version
It's nice and simple, but we have to add cron jobs manually
Sort of the point in this case Competent enough to set up my own webserver/php install, just too lazy to do proper back-ups of non-essential stuff :')
It can indeed. I just need to tweak the install script + PHP script a bit so it can work on Debian/Ubuntu, as they have different document roots. Give me a day or two for this.
Okay, it seems like that you all want Debian/Ubuntu support so here we go
The automatic installer now supports CentOS/Debian/Ubuntu and the script itself can be hosted on any Linux distro AND any web server with PHP support (you can use Debian + Nginx for example).
Sounds good? Here is the link for manual installs: https://github.com/PetaByet/cdp/wiki/Manual-Installation and you can find the automatic installer here https://cdp.me/#installation
Wow! Great work!
Great, Thanks, lol
thanks for your efforts and mostly sharing : )
This is fantastic. I just set it up on a server which is running VestaCP. Flawless, thank you!
@PetaByet that's really good work, I may get all of LES backed up using this.
@AnthonySmith keep an eye out on the todo list he has OVZ backups by CTID on there
Sounds interesting
Great work, wow
@PetaByet: would you mind giving a short explanation of what exactly your script does and what is backuped in detail.
I think that maybe interesting to those who aren't that much capable of reading through all your source-code...
really appreciate your work!
Something simple like this is what a ton of people need. Thanks OP!
some things:
1: PW change from interface or at least supply commands for idiots to generate a new MD5
2: 1 cron job per directory can get very annoying, better one per server?
3: Copy & paste field with the contab commands, makes it easier to copy