Automatically backup my data
You can backup all your Memotoo data by going to this address:
https://www.memotoo.com/configuration.php?rub=backup
and if you want to schedule backup, you can use this url and wget.
With Windows
- Download wget.exe utility:
https://www.memotoo.com/softs/wget.exe
- Open a command editor and enter to download backup data:
C:\wget.exe -q "https://www.memotoo.com/redirect.php?l=login&p=password&page=backup&bookmarks=1&calendar=0&contacts=0&files=0&sms=0" -O C:\memotoo-backup.zip
!!! Replace "login" and "password" with your account ("password" can be replaced by md5("password") value)
!!! Set to "1" if you want to save "bookmarks", "contacts", "calendar", "files" and "SMS"
- To schedule backup enter this command:
at 10p /EVERY:1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31 C:\wget.exe -q "https://www.memotoo.com/redirect.php?l=login&p=password&page=backup&bookmarks=1&calendar=0&contacts=0&files=0&sms=0" -O C:\memotoo-backup.zip
For example all monday at 10:00 in the evening
With Linux
- Open a terminal and enter to download backup data:
wget -q "https://www.memotoo.com/redirect.php?l=login&p=password&page=backup&bookmarks=1&calendar=0&contacts=0&files=0&sms=0" -O /var/backups/memotoo-backup.zip
!!! Replace "login" and "password" with your account ("password" can be replaced by md5("password") value)
!!! Set to "1" if you want to save "bookmarks", "contacts", "calendar", "files" and "SMS"
- To schedule backup enter this command:
- Create a file named "memotoo-backup.sh" in "/etc/cron.weekly/" (make it executable with: "chmod 775 /etc/cron.weekly/memotoo-backup.sh")
- Edit in and paste:
#!/bin/sh wget -q "https://www.memotoo.com/redirect.php?l=login&p=password&page=backup&bookmarks=1&calendar=0&contacts=0&files=0&sms=0" -O `date +/var/backups/memotoo-backup-%Y-%m-%d.zip`
or
#!/bin/sh user='foo' password='bar' hash=$(echo -n $password | md5sum -t) password=${hash%% *} url='https://www.memotoo.com/redirect.php?l='$user'&p='$password'&page=backup&bookmarks=1&calendar=0&contacts=0&files=0&sms=0' output=`date +/var/backups/memotoo-backup-%Y-%m-%d.zip` wget -q $url -O $output