Memotoo
New features for MemotooRSS Feed
You have ideas and desires to improve service
Informations:
Number of messages: 441
Number of posts: 1468
Last posted: 2023-01-15 - 10:20
Last visit: 2024-04-28 - 17:32
Number of posts not read since your last visit: 0
Bookmark and Share
Return to the forum - Forums list - Reply to this post - New message - Search a postSearch a post

Automatic backupRSS Feed



Author Message
Pierre

Translate this message to:
BulgarianChinese (Traditional)CroatianCzechEnglishFinnishFrancaisGermanGreek
HindiItalianJapaneseNederlandsNorwegianPortugueseRussianSpanishSwedish
smile Posted 2011-01-26 - 16:58

Hi there,

It would be nice if all my memotoo data (agenda, calendar, contacts, documents...) could be backed up
automatically and regularly (every week for instance).
It would be also great if I could reveive by email the resulting archive.

Do not you think this "feature" would be usefull?


Memotoo Cloud Add Memotoo widgets to iGoogleiGoogle, NetvibesNetvibes.com, Windows VistaWindows Vista, Apple DashboardMac OS X, ...
Learn more ยป

7 Replie(s)
Author Message
tomk

Translate this message to:
BulgarianChinese (Traditional)CroatianCzechEnglishFinnishFrancaisGermanGreek
HindiItalianJapaneseNederlandsNorwegianPortugueseRussianSpanishSwedish
smile Posted 2011-04-18 - 13:10     Subject: Re: Automatic backup

wget and cron are your friends


Peter
Peter


Translate this message to:
BulgarianChinese (Traditional)CroatianCzechEnglishFinnishFrancaisGermanGreek
HindiItalianJapaneseNederlandsNorwegianPortugueseRussianSpanishSwedish
smile Posted 2011-04-18 - 16:33     Subject: Re: Automatic backup

You can found a wiki about the backup here: http://wiki.memotoo.com/wiki/Automatically_backup_my_data


???

Translate this message to:
BulgarianChinese (Traditional)CroatianCzechEnglishFinnishFrancaisGermanGreek
HindiItalianJapaneseNederlandsNorwegianPortugueseRussianSpanishSwedish
smile Posted 2013-09-15 - 15:26     Subject: Re: Re: Automatic backup

Hello,

what is the syntax, wen i need the destination Filename , e.g. memotoo-backup-20130829152355.zip. Also the Tmestamp?

Your Example save the backup in c:\memotoo-backup.zip. No Timestamp.

Can you help me?

Regards
Christian


Thomas - Webmaster Memotoo
Thomas - Webmaster Memotoo


Translate this message to:
BulgarianChinese (Traditional)CroatianCzechEnglishFinnishFrancaisGermanGreek
HindiItalianJapaneseNederlandsNorwegianPortugueseRussianSpanishSwedish
smile Posted 2013-09-16 - 10:06     Subject: Re: Automatic backup

Hello Christian

Ok you can use this 2 command line:

set filenametmp=memotoo-backup-%date:~6,4%%date:~0,2%%date:~3,2%.zip

C:\wget.exe -q " https://www.memotoo.com/redirect.php?l=login&p=password&page=backup&bookmarks=1&..." -O C:\%filenametmp%


Michael

Translate this message to:
BulgarianChinese (Traditional)CroatianCzechEnglishFinnishFrancaisGermanGreek
HindiItalianJapaneseNederlandsNorwegianPortugueseRussianSpanishSwedish
smile Posted 2013-11-28 - 18:14     Subject: Re: Automatic backup

Thomas,

I use a batch file that runs daily to backup all my Memotoo data, but I noticed that it is not longer working.

This is the batch script. It all works, but WGET is not returning any data from Memotoo.com:

(notice: script works fine with Windows 7 - I had to modify it from the one that worked with XP. XP commands are commented).
( to view script properly, copy and paste in text editor with monospaced font)


:: ----------------------------- start of script -------------------------
:: Script to backup my data from Memotoo

:: Michael Lees
:: www.fimdeabril.com

:: 2013-11-28 Changed action to get date: delims was 2-4 now 1-3, and now in correct order (y-m-d)
:: Added pre-check to see if Memotoo.com is available.
:: Changed FORFILES commands for Windows 7


@echo off
CLS
COLOR 1E

:: Make a "beep" by echoing ASCII code 7
echo 

echo __ __ _
echo ! \/ ! ! !
echo ! \ / ! ___ _ __ ___ ___ ! !_ ___ ___
echo ! !\/! !/ _ \ '_ ` _ \ / _ \! __/ _ \ / _ \
echo ! ! ! ! __/ ! ! ! ! ! (_) ! !! (_) ! (_) !
echo !_! !_!\___!_! !_! !_!\___/ \__\___/ \___/
echo.

:memotoo
:: ---------------------------------------------------------------
: Script to download all Memotoo data, naming file with date/time

:: set number of days for old files
set olddays=45

ECHO Script to download all Memotoo data, naming file with date/time
echo.

:: Check if Memotoo.com is accessible... if not, exit.

echo Checking connection with Memotoo.com...
ping -n 2 www.memotoo.com 1>NUL | find /i /n "Pinging"
if %ERRORLEVEL%==1 (
echo.
echo Could not connect to Memotoo.com. Will now exit.
echo.
ping -n 4 127.0.0.1 >NUL
exit
)


:: get current date and time

For /f "tokens=1-3 delims=/ " %%a in ('date /t') do (set mydate=%%c-%%b-%%a)
For /f "tokens=1-2 delims=/:" %%a in ('time /t') do (set mytime=%%a%%b)

echo Date is %mydate%_%mytime%


:: REPLACE MYNAME AND MYPASS BELOW WITH YOUR CREDENTIALS


if exist Y:\ (
call :eraseold
echo Backing up...
"C:\windows\wget.exe" -q " https://www.memotoo.com/redirect.php?l=MyName&p=MyPass&page=backup&bookmarks=1&c..." -O Y:\Memotoo\memotoo_backup_%mydate%_%mytime%.zip
echo.
if exist Y:\Memotoo\memotoo_backup_%mydate%_%mytime%.zip (
echo Done, backedup to file memotoo_backup_%mydate%_%mytime%.zip
) else (
echo Hmmm... backup didn't seem to work
)

) else (
echo.
echo Y not available right now...
)

ping -n 8 127.0.0.1 > NUL
goto :EOF
exit

:: Function to list and erase backups older than "n" days
:: the number of days is set at the top of this file

:eraseold
ECHO.
echo First, let's erase backups older than %olddays% days...
echo.

:: List old files


:: Windows XP Commands
:: forfiles -p"Y:\Memotoo" -mmemotoo_b*.zip -d-%olddays% -c"cmd /c echo @FILE is older than %olddays% days: delete"
:: forfiles -p"Y:\Memotoo" -mmemotoo_b*.zip -d-%olddays% -c"cmd /c del @FILE"


::Windows 7 (comes with FORFILES command, new version)

echo.
echo The following files will be deleted:
forfiles /p "Y:\Memotoo" /m memotoo_b*.zip /d -%olddays% /c "cmd /c echo @FILE is older than %olddays% days: delete"
echo.
echo Deleting...
forfiles /p "Y:\Memotoo" /m memotoo_b*.zip /d -%olddays% /c "cmd /c del @FILE"


:: ----------------------------- end of script -------------------------


And running WGET manually via command line, the output is:


C:\windows\wget.exe " https://www.memotoo.com/redirect.php?l=MyName&p=MyPass&page=backup&bookmarks=1&c..." -O Y:\Memotoo\memotoo_backup.zip
--14:54:10-- https://www.memotoo.com/redirect.php?l=MyName&p=MyPass&page=backup&bookmarks=1&c...
=> `Y:\Memotoo\memotoo_backup_.zip'
Resolving www.memotoo.com... done.
Connecting to www.memotoo.com[88.190.31.122]:443... failed: Bad file descriptor.

(re-tries many times)

Giving up.



Notice that I removed my real name and password.

I am currently behind a proxy but Memotoo is not blocked by it, and I did try the proxy-user= and proxy-passwd= arguments, but it made no difference.

Any ideas?

Thanks,


P.S.: Forum could include options for format text as Code, Quote, etc... that would be nice.


Thomas - Webmaster Memotoo
Thomas - Webmaster Memotoo


Translate this message to:
BulgarianChinese (Traditional)CroatianCzechEnglishFinnishFrancaisGermanGreek
HindiItalianJapaneseNederlandsNorwegianPortugueseRussianSpanishSwedish
smile Posted 2013-11-28 - 19:48     Subject: Re: Automatic backup

I have tried and it works fine...
Are you sure that "Y:\" drive exist and you write on it ???


Michael

Translate this message to:
BulgarianChinese (Traditional)CroatianCzechEnglishFinnishFrancaisGermanGreek
HindiItalianJapaneseNederlandsNorwegianPortugueseRussianSpanishSwedish
smile Posted 2013-11-29 - 15:41     Subject: Re: Automatic backup

Thomas,

Yes, drive "Y" exists. It's a drive I mount, and I use the same one on laptop and at home (same letter, Y). The file is created, but nothing is downloaded and the file ends up with zero bytes.

However, I just tried at home right now and it worked! And on the laptop (behind proxy), it didn't. I tried again WGET with the options --proxy=on --proxy-user=user --proxy-passwd=pass, and it still didn't work.

Maybe it just doesn't work behind the proxy :-/

No big deal, at least I can get backups done from home.

Thanks again,

I'll try


Return to the forum - Forums list - Reply to this post - New message - Search a postSearch a post