In Progress

Write me a backup script for my synology

Hello all,

I need an ash (or Bash) script for my synology nas

The script needs to do the following steps:

1. check on what USB port there is an USB drive connected. (if non send email to specified email adres)

2. If there are 2 USB drives connected look for one with a directory called "backup" on it (if non send email to specified email adres)

3. Clear all contents in that backup directory if:

3a. in a separated file called "dirlist" there are the directories mentioned which needs to be in the backup

3b. check if there is enough diskspace on the USB drive if the directory "backup" has been cleared (if not send error mail to specified email adres)

4c. Clear all contents in that backup directory

4. make backup via rsync of all the data in the directories specified in the "dirlist" file

5. send email to specified email adres with how long the backup took and if backup was successful or not.

Note: a synology NAS is just a stripped linux. the script shall be placed in cron via the synology manager.

Kemahiran: Linux, PHP, Python, Skrip Kekerang

Lihat lagi: how to write email, bash directory script, bash script directory, bash file, how to write a contents, synology, linux bash script, bash script, write synology backup script, backup synology nas, write linux script, clear linux, backup script bash, bash backup, drive script, synology nas rsync linux rsync, synology linux rsync, synology linux, nas drive, bash script data

Tentang Majikan:
( 28 ulasan ) Waasmont, Belgium

ID Projek: #6644084

8 pekerja bebas membida secara purata $111 untuk pekerjaan ini


A proposal has not yet been provided

$157 USD dalam sehari
(494 Ulasan)

Requirements is clear enough. In order to send mail I will need a mail server which I am assuming you will provide [ or I could install mail server on your system for extra ] Also I am not so sure why rsync is requir Lagi

$148 USD dalam 3 hari
(50 Ulasan)

Interessant. I have written something like this for myself. I used duplicity on top of rsync. duplicity is able to create incremental backups also it has many other features. I can deliver the script with any of Lagi

$240 USD dalam 4 hari
(32 Ulasan)

linux sysadmin here and I can do this for you. I've been doing linux since last 8 years and I can write you a script for your backup and alert checks. It would run via cron at certain interval that you'd specify. UP Lagi

$88 USD dalam sehari
(62 Ulasan)

Hi, bertcolemont. I have a strong background in data processing and string manipulation using Perl, python, bash and scripting in General. I can start as early possible depending on your approval and acceptance. In Lagi

$100 USD dalam 2 hari
(2 Ulasan)

Предложение еще не подано

$111 USD dalam 7 hari
(1 Ulasan)

A proposal has not yet been provided

$25 USD dalam 8 hari
(0 Ulasan)

Hello! I will make script with POSIX standard, it will work on most UNIX systems. This is not a difficult task, so I don't know what say. I have extensive experience, and better I will proof, than talking. Many than Lagi

$20 USD dalam sehari
(0 Ulasan)