home_backup | script written in python using rsync | Continuous Backup library
kandi X-RAY | home_backup Summary
kandi X-RAY | home_backup Summary
this is a backup-script written in python using rsync. it is tested on ubuntu 14.04 and arch linux (using --legacy). it can backup incremental and differential. it will send you an email and summarize the backup. rsync_mail.py [-h] [-t] [-e exclude] [-l logfile] [-q] [-m mail] [-u] [-d] [-c config] [--delete] [--legacy] [--check] [--link link] [--date] source target. source specify the directory to backup (source). target specify the directory where the backup should be stored (target). -h, --help show this help message and exit. -t, --trash delete unnecessary files and empty the trash. -e exclude, --exclude exclude exlude the following directories from backup. -l logfile, --logfile logfile specify the logfile to monitor. -q, --quiet do not print to stdout. -m mail, --mail mail email-adress whereto send the rsync-log to. use this with the --config option to provide a properties-file with the smtp-server-config. -u, --update keeps files
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Parse command line arguments
- Sends an email
- Load the SMTP server configuration
- Load the destinations from the config file
- Check if a directory exists
- Load the SMTP standard
- Assemble params
- Handle link
- Linking files in the backup directory
- Add exclude options
- Delete temporary files
home_backup Key Features
home_backup Examples and Code Snippets
Community Discussions
Trending Discussions on Continuous Backup
QUESTION
ANSWER
Answered 2022-Feb-22 at 10:59I am not sure if you have seen this message in the portal when you created the account/also mentioned in the doc
"You will not be able to switch between the backup policies after the account has been created"
since you need to select either "Periodic" or "Continuous" at the creation of Cosmos Account, it becomes mandatory.
Update:
You will not see the above in portal anymore, you can Switch from "Periodic" to "Continous" on an existing account and that cannot be reverted. You can read more here.
QUESTION
What would be the consistency of the continuous backup of the write region if the database is using bounded staleness consistency? Will it be equivalent to strong consistent data assuming no failovers happened?
Thanks Guru
...ANSWER
Answered 2021-Nov-25 at 17:15Backups made from any secondary region will have data consistency defined by the guarantees provided by the consistency level chosen. In the case of strong consistency, all secondary region backups will have completely consistent data.
Bounded staleness will have data that may have stale or inconsistent data inside the defined staleness window (minimum 300 seconds or 100k writes). Outside of that staleness window the data will be consistent.
Data for the weaker consistency levels will have no guarantees for consistency from backups in secondary regions.
QUESTION
MongoDB has deprecated the continuous back up of data. It has recommended using CPS (Cloud provider snapshots). As far as I understood, snapshots isn't really going to be effective compared to continuous backup coz, if system breaks, then we can only be able to restore the data till the previous snapshot which isn't gonna make the database up-to-date or close to it atleast.
Am I missing something here in my understanding?
...ANSWER
Answered 2020-May-19 at 10:12Cloud provider snapshots can be combined with point in time restore to give the recovery point objective you require. With oplog based restores you can get granularity of one second.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install home_backup
You can use home_backup like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page