BackupList+



IAlterImage ↑ Back to Top Back to Top. Backuplist is a simple free Backup Software for Mac with pretty good features. It actually creates a copy of your data instead of archiving them. Also, it provides you different options for copying your data such a Backup, Incremental backup, Clone drives, Sync folders, Backup the whole system, and you can also make a copy of hidden recovery.

Latest version

Released:

Morning Joe Software Linux Server Backup System

Project description

This script is called to perform a backup and in turn calls other scripts which performspecialized task such as back up files, MySql databases, Postgresql databases, and anythingelse that this can be extended to support.

There is also a script that can be used to rsync the backup files to the remote location. The lengththese remote copies can be retained can be set by days.

Both scripts are meant to be used with crontab in a single linux server environment with database servers running locally.

Requirements

  • Linux server (Geared more towards standalone web server)
  • Python 3.6+ installed
  • Mysql installed (optional)
  • PostgreSql installed (optional)
  • rsync installed (optional)

Features

  • supports backing up files into a tar.gz archive
  • supports full database backup dumps of PosgreSql and MySql databases.
  • all backups are timestamped in the file name.
  • file backups can be grouped into different target archives and locations.
  • databases backup location can be set.
  • limits on the backup copies retained on the server.
  • logging is supported.
  • backup status/errors can be emailed to a list of email addresses.
  • rsync based script to help with coping the backups to a remote location.
  • support for clearing old backups after a set amount of days on the remote location.

TODO

  • more database support such as Mongo DB, SQL Server
  • database backups from multiple configs much like the file archives.
  • better logging and error reporting

Installation (Server)

Run the following command on the server:

There should be the following files for the server part:

  • mjbackup.py
  • mjbackupConfig.py
  • mjbackupFiles.py
  • mjbackupPgsql.py
  • mjbackupMysql.py

There should be the following files for the remote location:

  • mjsync.py

Copy the files for the server part to a location such as /opt/mjbackup/

Make sure this location is only accessible to the superuser.

Make the configuration directory:

Configuration (Server)

First add this job to crontab. This will perform the backup every Sunday at 3AM.

Go to the directory where you downloaded the package from pip and go to the 'conf' subdirecotry.There should be many sample configuration files. These need to be editied for your system.

mjbackupConfig.xml

BackupList - List of paths to configuration files for each indivisual archive.

EmailNotifyList - List of emails to send a copy of the log every time a backup is done.

EmailSource - This is the 'From' field when emails are sent out.

LimitCopies - Limit to how many backup copies are kept on the server. Default is 3.

Verbose - If set, information will be printed to the console. For testing.

backup(X).xml

Configuration for an individual archive. Backuplist has three attributes:

name - Name of backup group to display in logs/emails.

target - Name of the archive. A date/time stamp and the extension tar.gz will be appended to this in the file name e.g. backup.2020-04-20_050006.tar.gz

targetdir - The directory to put this archive into. Use absolute path such as /home/archive/backups.

Each Backup is a directory or file to add to the archive.

Name - Name of backup to display in logs/emails.

Path - Absolute path of directory or file to backup.

Note - Extra field to put more information about this backup.

mjbackupMysql.conf

BackupList+

username - MySql admin login name

Password - MySql admin password.

hostname - hostname MySql server resides on.

backupdir - The directory to put this archive into. Use absolute path.

mjbackupPgsql.conf

Backuplist

username - PostgreSql admin login name

Password - PostgreSql admin password.

hostname - hostname MySql server resides on.

backupdir - The directory to put this archive into. Use absolute path.

After configuration

Copy all .xml and .conf files to /etc/mjbackup and make sure this directory is only accessible by the superuser.

Test it to see if it works correctly. If Verbose is set, you can see the output.

Installation (Remote Sync)

Before going further, make sure rsync is configured for passwordless login for the remote backup server.

Copy the files for the server part to a location such as /opt/mjbackup/

Make sure this location is only accessible to the superuser.

Make the configuration directory:

Configuration (Remote Sync)

First add this job to crontab. This will perform the backup every Sunday at 5AM. (Give the server a few hours to do the job.)

Go to the directory where you downloaded the package from pip and go to the 'conf' subdirecotry.There should be many sample configuration files. You only need mjsyn.conf.

mjsync.conf

username - rsync login name for the server.

hostname - rsync host to rsync to.

remote_backupdir - The backup directory on the server. Use absolute path.

local_backupdir - The local directory to copy to. Use absolute path.

days_to_keep - the days to keep old backups downloaded.

verbose - Show the status or not. For testing.

Copy all mjsync.conf files to /etc/mjbackup and make sure this directory is only accessible by the superuser.

Test it to see if it works correctly. If Verbose is set, you can see the output.

Backup List On Mac Download

Release historyRelease notifications | RSS feed

Backuplist+ 設定

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for mjbackup, version 1.0.1
Filename, sizeFile typePython versionUpload dateHashes
Filename, size mjbackup-1.0.1.tar.gz (12.0 kB) File type Source Python version None Upload dateHashes
Close

Backup List.db

Hashes for mjbackup-1.0.1.tar.gz

BackupList+
Hashes for mjbackup-1.0.1.tar.gz
AlgorithmHash digest
SHA2562ce7f47146648d80f2be7d38bc1e11f52b8420718cde51c931b5b36dcb947a15
MD501d3463b0ca3ce226e07a3fb2f1d433e
BLAKE2-2566e16167d33d638caeef07cd7ee03d094017f4ef10c089112d150ca2542be550a
-->

Represents a configuration element that defines a backup endpoint element.

<configuration>
<system.serviceModel>
<routing>
<backupLists>
<backupList>
<add>

Syntax

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.

Attributes

AttributeDescription
nameA string that specifies the name of the backup endpoint.

Backup Listing

Child Elements

None.

Parent Elements

ElementDescription
<routing>Contains a list of endpoints that you would like the Routing Service to use in case the primary endpoint can't be reached.

See also