Line 188:
Line 188:
Create the deletion script
Create the deletion script
−
pico -w /opt/scripts/deletebkp1
+
nano -w /opt/scripts/deletebkp1
Enter the following (using your share name, user, pasword & domain)
Enter the following (using your share name, user, pasword & domain)
Line 202:
Line 202:
Create the cron job
Create the cron job
−
pico -w /etc/cron.d/deletebkp1
+
nano -w /etc/cron.d/deletebkp1
Enter the following (setting the time & day to be just before your scheduled backup time), see below.
Enter the following (setting the time & day to be just before your scheduled backup time), see below.
Line 247:
Line 247:
mkdir -p /etc/e-smith/templates-custom/etc/dar/DailyBackup.dcf
mkdir -p /etc/e-smith/templates-custom/etc/dar/DailyBackup.dcf
−
pico -w /etc/e-smith/templates-custom/etc/dar/DailyBackup.dcf/41go-into
+
nano -w /etc/e-smith/templates-custom/etc/dar/DailyBackup.dcf/41go-into
--go-into opt
--go-into opt
Line 271:
Line 271:
Create custom template fragment to exclude the unneeded files and directories
Create custom template fragment to exclude the unneeded files and directories
mkdir -p /etc/e-smith/templates-custom/etc/dar/DailyBackup.dcf
mkdir -p /etc/e-smith/templates-custom/etc/dar/DailyBackup.dcf
−
pico -w /etc/e-smith/templates-custom/etc/dar/DailyBackup.dcf/45prune
+
nano -w /etc/e-smith/templates-custom/etc/dar/DailyBackup.dcf/45prune
--prune home/e-smith/files/ibays/mirror/cgi-bin
--prune home/e-smith/files/ibays/mirror/cgi-bin