Files Cloud Backuper (FCB) allows you to easily upload files to a cloud storage of your preference.
fcb-upload settings.xml my_directory_to_upload
That's it!
pip install Files_Cloud_Backuper
Important: for Mega.co.nz you also need to install megatools
To create the database which will hold the registry of files stored, execute: fcb-createdb
This will create a data.db
which you must have in the local directory every time you execute fcb-upload
FCB requires information about the cloud service(s) which will be used. [1]
Current version supports any POP3 mail account and Mega.co.nz. [1]
[1] For more information checkout the wiki
The minimal [2] required setting for backuping to a Mega.co.nz account is:
<mega_sender>
</mega_sender>
This will use your megatools settings to connect to the service.
[2] Minimal but not necessarily recommended. Checkout the wiki.
The minimal required setting for backuping to a POP3 mail is:
<configuration>
<mail_sender>
<account>
<limits>
<max_container_content_size>10M</max_container_content_size>
</limits>
<src>
<mail>my_mail@some_mail_srv.com</mail>
<user>my_mail_usr</user>
<password>my_mail_pass</password>
<server>smtp.mail.some_mail_srv.com</server>
<use_ssl>1</use_ssl>
</src>
<dst_mail>my_cloud_storage@some_mail_srv.com</dst_mail>
</account>
</mail_sender>
</configuration>
All the settings in src
are the sending information (same settings that would need to be configured for a mail sender client).
The dst_mail
is the mail address which will store the backups (in form of attachments).
max_container_content_size
is not strictly required, but in general mail servers have limits in mail attachments sizes, and this is the way of defining the limit for FCB (Important check the wiki for further comments)
TODO