Hello everyone,
I have a question that came form this website, For me I don't really understand how to edit the code that is shown in the example, I know it looks simple but I need a little extra help... I always seem I need it.
digimoot.wordpress.com
I'm just simply trying to backup radarr, and this is for an example.
The writer talks about replacing the file locations with the appropriate location, now what does that really mean, I have two Tanks named Tank1, and Tank2, the Iocage radarr is in Tank2, do i need to change it so it says /mnt/Tank2/data/logs/radarr.log
or do i need to create all these folders ? in my /mnt/Tank2?
Thank you for all the help,
Joe
I have a question that came form this website, For me I don't really understand how to edit the code that is shown in the example, I know it looks simple but I need a little extra help... I always seem I need it.

FreeNAS: Backup Jails Automatically Using IOCAGE Import and Export
A backup of your FreeNAS jails is important given the time and effort spend on setting up, customizing and configuring these jails. We can use IOCAGE to complete a backup of your jails. This articl…

I'm just simply trying to backup radarr, and this is for an example.
Code:
#!/bin/bash echo "---Starting Backup of FreeNAS Jails---" >> /mnt/data/logs/Jail.log echo $(date) >> /mnt/ssd/logs/Jail.log #Jail #1 Backup echo "Backing Up Jail" >> /mnt/data/logs/Jail.log echo $(date) >> /mnt/data/logs/Jail.log iocage stop [radarr] >> /mnt/data/logs/Jail.log iocage export [radarr] >> /mnt/data/logs/Jail.log iocage start [radarr] >> /mnt/data/logs/Jail.log echo "...Deleting old backups" >> /mnt/data/logs/Jail.log echo $(date) >> /mnt/data/logs/Jail.log rm /mnt/Backups/[radarr]* >> /mnt/data/logs/Jail.log echo "...Moving current backup to stotage folders" >> /mnt/data/logs/Jail.log echo $(date) >> /mnt/data/logs/Jail.log mv -v /mnt/[radarr]/iocage/images/[radarr]* /mnt/Backups/[radarr] >> /mnt/data/logs/Jail.log
The writer talks about replacing the file locations with the appropriate location, now what does that really mean, I have two Tanks named Tank1, and Tank2, the Iocage radarr is in Tank2, do i need to change it so it says /mnt/Tank2/data/logs/radarr.log
or do i need to create all these folders ? in my /mnt/Tank2?
Thank you for all the help,
Joe
Last edited: