Ninox database file on iCloud isn't visible and thus difficult to backup
I am using the Mac version of Ninox on 2 Macs.
I have the database file hosted on iCloud.
When I look at iCloud storage, I know it is taking up space, but it doesn't show up as file that I can copy or backup.
Why is that?
How can I backup my database, other than making an archive from time to time. I prefer automatic backups.
8 replies
-
Hi,
As far as we know Apple has restricted the access to application data on the iCloud. You can not see the files anymore.
You can download and store the Ninox database manually. Select "Save archive as..." from the main menu.Best, Jörg
-
I just realized this - this is a really big problem (since now there's no way to restore a backup). Is there a way around it in order to make backups? I use about 6 different databases for important parts of various jobs, and I've just realized that despite backing up everything on my computer, this doesn't appear to be backed up.
-
I end up duplicating my one database to a local Dropbox folder. But it's a pain that there isn't an easy way to automate backups for data that is in iCloud.
-
Thanks for the suggestion. It seems that iCloud data is backed up in Time Machine, just hard to get to by average users. I suppose I shouldn't count on Apple making it any easier any time soon. Ninox support has been wonderful with these questions, though.
-
I go to Database in the Menu bar of Ninox, and select "Save Archive as", I then save to a specific local Dropbox folder and overwrite the previous backup file. Remembering to do this on a regular basis is the hassle.
-
How does Time Machine end up with a back up of Ninox data on iCloud? Have you tried a Time Machine restore?
-
Josh, even if the file is not normally visible, it still must have a valid pathname. What is it?
Note that it ought to be possible to script automatic backups and it would be appropriate for Ninox to provide the script.
-
I have recently implemented a strategy to backup my Ninox iCloud databases using LaunchCtl on the Mac. See below for the details.
On the Mac, when selecting the iCloud for the database locations they will be stored at the following location:
~/Library/Mobile Documents/BJE6SD455T~de~ninoxdb~ninox-ios
Using LaunchCtl to backup Ninox Databases. Firstly ensure that the following two files have been placed in the expected locations:
$ launchctl list | grep Backups
$ launchctl load ~/Library/LaunchAgents/com.lloyd.NinoxBackups.plist
$ launchctl list | grep Backups
To remove the job:
$ launchctl unload ~/Library/LaunchAgents/com.lloyd.NinoxBackups.plist
com.lloyd.NinoxBackups.plist: (Needs to be copied to ~/Library/LaunchAgents/
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.lloyd.NinoxBackups</string>
<key>Program</key>
<string>/Users/lloyd/scripts/NinoxBackups.sh</string>
<key>StandardOutPath</key>
<string>/Users/lloyd/NINOX_Backups/NinoxBackups_out.log</string>
<key>StandardErrorPath</key>
<string>/Users/lloyd/NINOX_Backups/NinoxBackups_errors.log</string>
<key>StartCalendarInterval</key>
<dict>
<key>Hour</key>
<integer>23</integer>
<key>Minute</key>
<integer>55</integer>
</dict>
</dict>
</plist>
NinoxBackups.sh: (Needs to be copied to ~/scripts/)
#!/bin/zsh
# Script to backup Ninox Databases
#
# This script will perform backups of the Ninox Databases:
# Daily backups with day of month in the name
# Monthly backups with the month in the name
Day=$(date +%A)
DayOfMonth=$(date +%d)
Month=$(date +%b)
#echo $Month $Day $DayOfMonth
if [[ $DayOfMonth -eq 1 ]]
then
# echo "Monthly Backup";
cd ~/Library/Mobile\ Documents && tar -czf ~/NINOX_Backups/Ninox_BU_$Month.tar.gz BJE6SD455T~de~ninoxdb~ninox-ios;
else
# echo "Daily Backup";
cd ~/Library/Mobile\ Documents && tar -czf ~/NINOX_Backups/Ninox_BU_$DayOfMonth.tar.gz BJE6SD455T~de~ninoxdb~ninox-ios;
fi
Content aside
- 2 yrs agoLast active
- 8Replies
- 4259Views
-
1
Following