Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.153.612 Times

Backalaika 0.2.1

Company: Nando Florestan
Date Added: August 28, 2013  |  Visits: 410

Backalaika

Report Broken Link
Printer Friendly Version


Product Homepage
Download (36 downloads)



Backalaika is just a simple backup solution for small offices.<br /><br />Writing backup jobs:<br /><br />You define backup jobs in small text files (actually small Python files). They are simple. Here is what a backup job looks like:<br /><br /> job = dict(name='nandos-work',<br /> sources = [<br /> ('/home/nando/2010', 'zip,separate_dirs'),<br /> ("/home/nando/.mozilla-thunderbird/", "bz2"),<br /> # more sources here if you like...<br /> ]<br /> )<br /><br />The job name ('nandos-work') will be used as part of the backup directory name.<br /><br />*sources* is a list of tuples. Each tuple contains a directory to be backed up and the corresponding options. Each directory will end up in its own compressed file. What kind of compression?<br /><br />* Zip if you say 'zip' in the options, or<br />* tar.gz if you say 'gz' in the options, or<br />* tar.bz2 if you say 'bz2' in the options.<br /><br />You should prefer bz2 for very big archives.<br /><br />Zip was originally limited to 2GB; now it is limited to 4GB but many programs still only read zip files shorter than 2 GB.<br /><br />bz2 compresses better than the others, therefore the default is bz2.<br /><br />The directories are backed up recursively; in other words, subfolders are included.<br /><br />The *separate_dirs* option causes the *subfolders* of the specified directory to be backed up -- each in its own compressed file.<br /><br />You must separate the options with commas, in the options string.<br /><br />If you are a Python programmer, note that in the job file you can have other things happen too, in addition to defining the *job* global variable. For instance, you could mount a smbfs share. If you define an *after_backup()* function, it is called before exiting.<br /><br />To perform a backup, you specify one backup job file:<br /><br /> backalaika.py -j jobs/myjob.py<br /><br />Backalaika then asks 3 questions on the console:<br /><br />1. Only backup a file once:<br /><br />Now just let me explain that Backalaika can be used to maintain a database containing information about all your backup media and files.<br /><br />This database is able to uniquely identify a file (by its hash), so when making a backup, the database can be looked up to prevent inclusion of repeated (not modified) files.<br /><br />The first question the program asks is about this. Should we skip known files or not.<br /><br />2. Minimum file modification date<br /><br />Backalaika then asks what is the minimum file modification date. This is another mechanism useful for incremental or differential backups. For instance, suppose the last backup you did was on December 25th, 2008. You might then answer:<br /><br /> 2008-12-25<br /><br />...causing only files modified later than that to be backed up. If you want a *full* backup, just hit Enter for that question.<br /><br />3. A brief comment<br /><br />Next, the program asks for a brief comment. You can type one or two words, these will be added to the name of the directory containing the backup.<br /><br />The backup process:<br /><br />Finally, the program presents information about the job and asks you to press Enter to start. (When you want to interrupt the program, you press CTRL-C.)<br /><br />During backup, the program keeps writing the names of the files on the screen. If some files cannot be accessed for some reason, the error is shown.<br /><br />Errors are collected and shown again *after* the backup is complete.<br /><br />Main configuration:<br /><br />You may write configuration in two places:<br />1) a ".backalaika" file in your home directory, and<br />2) in each job file itself. And the settings in here win over the others.<br /><br />Here is the default configuration:<br /><br /> config = dict(<br /> dir_backups = '~/backups',<br /><br /> # File extensions of files that should be stored, not recompressed:<br /> store_only = 'pdf|ods|odt|jpg|jpeg|png|gif|' 'zip|rar|gz|tgz|bz2|jar|deb|rpm|cab' '|mpg|mpeg|avi|mov|flv|wmv|wma|mp3|ogg',<br /><br /> # Worthless files that shall NOT be backed up:<br /> skip_files = '.DS_Store|.localized|Thumbs.db|*.pyc',<br /><br /> # How long can each archive volume be?<br /> # max_size = 1024 * 1024 * 699 # CD size (untested),<br /> max_size = 1024 * 1024 * 4350 # DVD size (untested),<br /><br /> # Database connection string<br /> db_uri = 'sqlite:///backalaika.sqlite',<br /> )<br /><br />As you saw above, configuration consists of declaring a dictionary containing the following keys:<br /><br />* *dir_backups* is the directory where the backup files will be written.<br /><br />* *store_only* is for zip archives, they can just store files as opposed to compressing them. This is useful for files that are already compressed. So in this variable you should write extensions of files that cannot be further compressed. The extensions are separated by a pipe character: |<br /><br />* *skip_files* lets you specify file names that should not be backed up. In this variable you may use the asterisk for wildcards.<br /><br />* *max_size* is the desired archive length, for multiple volume backups. For instance, you could set it to the size of a DVD (in bytes). When performing a backup job, the program creates the next volume whenever a file possibly wouldn't fit in the current volume.<br /><br />* *db_uri* is a database connection string as supported by SQLAlchemy - http://www.sqlalchemy.org<br /><br />There are a couple more keys:<br /><br />Volume sizes:<br /><br />You can add to the config dict a list of media sizes (for instance, to fill some multisession CDs), in megabytes:<br /><br /> volume_sizes = [596, 396, 640, 2700, 4350, 700] # partially used CDs<br /><br />The program first consumes all volume_sizes, then applies max_size.<br /><br />Database URI:<br /><br />Backalaika uses SQLAlchemy to support various database backends such as Postgres, MySQL and sqlite. The default is ~/backups/backalaika.sqlite. To change this, create the database, then configure Backalaika.<br /><br />Like any configuration, it can be done in the job file. But usually you want to use a single database, so you create a ~/.backalaika file and add to it your connection string like this:<br /><br /> config = dict(<br /> db_uri = 'postgresql://user:password@localhost/database_name',<br /> )<br /><br />For more help creating a db_uri, consult SQLALchemy docs.<br /><br />Command examples:<br /><br />Now try this command, it lists the command-line switches:<br /><br /> backalaika.py -h<br /><br />After you burn your archives to DVDs, you can insert the media and have Backalaika add all its files to the database:<br /><br /> backalaika.py -a 'MyBackupMedia001' -d 'Description here'<br /><br />The program enters zip, tar.gz and tar.bz2 files, as if they were directories, adding THEIR contents to the database.<br /><br />It hashes files by default. You can turn hashing off with -n:<br /><br /> backalaika.py -n -a 'AnotherMedia002' -d 'Videos'<br /><br />This lists all volume titles in the database:<br /><br /> backalaika.py -v<br /><br />You can view the files of a specific volume:<br /><br /> backalaika.py -f 'AnotherMedia002'<br /><br />...or all volumes:<br /><br /> backalaika.py -f ''<br /><br />Use -r to remove a volume and its contents from the database:<br /><br /> backalaika.py -r 'AnotherMedia002'<br /><br />Here are some key features of "Backalaika":<br /><br />?*A* zip, tar.gzip and tar.bz2 compression<br />?*A* predefined backup profiles<br />?*A* differential and incremental backups<br />?*A* file filters<br />?*A* file database with hashes<br />?*A* media sizes<br />?*A* multi-volume

Requirements: No special requirements
Platforms: *nix, Linux
Keyword: Backalaikapy Backed Backup Compressed Configuration Database Default Directory Files Instance Media Options Program Small Tarbz Uri Volume
Users rating: 0/10

License: Freeware Size: 10.24 KB
USER REVIEWS
More Reviews or Write Review


BACKALAIKA RELATED
Database Tools  -  Web Server Backup 1.0
This package can be used to generate backup copies of Web server directory files and MySQL databases. It uses a separate class to generate a backup archive in ZIP format of a given directory.Another class is used to take a backup of a given MySQL...
10 KB  
Libraries  -  Large Database Backup 1.0
Large Database Backup is a PHP class can be used to backup large MySQL databases into multiple files. It can list the tables of a given MySQL database and generate SQL statements to create and insert records with the current values of the table...
 
Network & Internet  -  Genders 1.6-1
Genders is a static cluster configuration database used for cluster configuration management. Genders is used by a variety of tools and scripts for management of large clusters. The genders database is accessed by every node in a cluster, either...
163.84 KB  
Database Tools  -  Backup database structure 1.0
Backup database structure accesses a given MySQL database and generates files with SQL statements that can be used later to restore the database structure and data in the database.The database dump file can optionally be saved in a compressed...
10 KB  
Modules  -  MySQL Database Backup 1.0
PERL Script to backup your OSCommerce database under MySQL. This script will perform a dump of your database as well as create a Hot Backup of the database. Both backup types will be tarred and compressed into a single file.Full installation and...
 
Modules  -  Remote Database Backup 1.00.0
A remote backup requires the database username and password.InstallationUnpack and upload it to the /wp-content/plugins/ directory.Activate the plugin through the 'Plugins' menu in WordPress. Requirements: - WordPress 2.5 or higher
 
Modules  -  Automated cron backup thru emailAutomated cron bac 1.0
Program to automate the backup of the MySQL database & file directory, and send the backup data files to an offsite destination for safe storage through email. Works with Joomla!, Mambo, PostNuke, WordPress & etc.
 
Backup Utilities  -  PHProjekt Backup Addon 1.0
PHProjekt Backup Addon is an addon for PHProjekt to backup the mysql database of phprojekt including the upload directory of phprojekt. It also contains a backup management to restore, view, download, etc backups.It is available in different...
43.25 KB  
Database Tools  -  All DB Backup 1.0
All DB Backup can be used to take a backup of a database to a file with SQL statements that can be used to restore the database. It can generate SQL statements that can be used to restore just the database table data or also the database table...
10 KB  
Modules  -  Auto mysql backup 1.0
This script makes a backup your oscommerce database and emails it to your email address automatically.INSTALLATION:1.) Configure the first 7 php values at the start of backup/cron.php2.) Upload the backup dir to your website3.) Chmod the backup...
 
NEW DOWNLOADS IN UTILITIES, BACKUP UTILITIES
Utilities  -  Nessconnect 1.0.2
Nessconnect is a GUI, CLI and API client for Nessus and Nessus compatible servers. With an improved user interface, it provides local session management, scan templates, report generation through XSLT, charts and graphs, and vulnerability trending.
819.2 KB  
Utilities  -  Dynamic Power Management 2.6.16
The Dynamic Power Management (DPM) project explores technologies to improve power conservation capabilities of platforms based on open source software. Of particular interest are techniques applicable to running systems, adjusting power parameters...
30.72 KB  
Utilities  -  Ethernet bridge tables 2.4.37.9
Ethernet bridge tables - Linux Ethernet filter for the Linux bridge. The 2.4-ebtables-brnf package contains the ebtables+bridge-nf patch. Be sure to check out the ebtables hp. This site also contains the arptables userspace tool.
40.96 KB  
Utilities  -  SaraB 1.0.0
SaraB works with DAR (Disk ARchive) to schedule and rotate backups on random-access media (i.e. hard drives, CDs, DVDs, Zip, etc. Basically anything except magnetic tapes.) This reduces hassle for the administrator by providing an automatic backup...
20.48 KB  
Utilities  -  Command Not Found 0.2.41
Command Not Found is a program that uses a cache of existing programs and their associated packages to aid users in their day-to-day command-line work. Usage: command-not-found [options] Options: ...
30.72 KB  
Backup Utilities  -  Easy Backup 2022
Easy backup is a full backup software and very easy to use. It was designed to be accessible to all, from novice to experienced user! All functions worthy of backup software are available (smart or Full backup, scheduling, encryption, compression...
36.24 MB  
Backup Utilities  -  Pegasun System Utilities 4.6
Does your computer feel much slower than when you first bought it? Does it include symptoms like freezing, errors, and lag? If so, this should come as no surprise because these symptoms are some of the most common PC problems. That's why we built...
6.8 MB  
Backup Utilities  -  pybackup - python backup script 0.12
pybackup is a menu driven interface to the console tools 'tar' and 'ssh'. It backs up user selected files and folders to another machine via ssh.
10.24 KB  
Backup Utilities  -  Browseable Online Backup System 0.6.4
Browseable Online Backup System (BOBS) is a complete online backup system. It uses large disks for storing backups and lets users browse and restore the files using a webbrowser. Files are fetched from other computers and stored in...
204.8 KB  
Backup Utilities  -  fast5 For Linux ersion14
Fast5 is a probabilistic file format for the storage of nucleotide and protein sequences based on hdf5.
40.96 KB