maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Schedule a backup (https://talk.maemo.org/showthread.php?t=63537)

kaoslory 2010-10-03 11:11

how to backup from terminal?
 
hello!
does anybody know which is the command to launch n900 backup from x-terminal?
thanks!

pelago 2010-10-03 14:39

Re: how to backup from terminal?
 
osso-backup, but that just launches the GUI. I don't know if it's possible to initiate a backup from the command-line.

kaoslory 2010-10-03 17:08

Re: how to backup from terminal?
 
yes, it only launches the program, but i need a command that initiates the backup.

or otherway, is it possible to schedule backups on n900?

Bruce 2010-10-03 17:32

Re: how to backup from terminal?
 
You could use SCP to copy the files to a remote SSH server.


scp / user@server

Should copy the whole device over the network.

daddy54 2010-10-04 08:09

Re: how to backup from terminal?
 
Quote:

Originally Posted by kaoslory (Post 832392)
yes, it only launches the program, but i need a command that initiates the backup.

or otherway, is it possible to schedule backups on n900?

try duplicity

kaoslory 2010-10-04 17:54

Re: how to backup from terminal?
 
mmm... i am searching for something simpler. the backup program that already is on the phone is ok. i just want to know how to schedule a periodical backup, or if is it possible to launch the operation (not only the program) by terminal, so i could schedule it with the program "alarmed".

AMLJ 2010-10-04 18:49

Re: how to backup from terminal?
 
Maybe it'd be good to install Easy Debian, and then backup using cpio or tar...

kaoslory 2010-10-08 13:44

Schedule a backup
 
hi
does anybody know how to schedule a phone backup (with the built-in application, osso-backup) on the memory card in nokia n900?

bobbydoedoe 2010-10-08 23:02

Re: Schedule a backup
 
what i did was have the phone autoconnect to my home server via wifi when i'm at home, and have the server synch up all the folders in the phone with the folders on the server nightly. you need to setup the phone where the homeserver can see it as a mapped network drive for this to work hope this helps

TomJ 2010-10-09 09:35

Re: Schedule a backup
 
Could alarmed handle this?

kaoslory 2010-10-09 10:16

Re: Schedule a backup
 
yes, i thought to use alarmed to launch the backup command. but i dont know how is the command!! because osso-backup is the command that only opens the apllication, it doesnt launche the backup overwriting the older one...
does anybody know how could be the command to launch the backup??

matthew_exon 2010-12-06 16:32

Re: Schedule a backup
 
Just to pipe up, I'd like something like this, a way to schedule a backup on the command line.

Please note that nothing based on duplicity, scp, rsync, etc etc is even close to an adequate backup solution. The important thing is not the backup, but the restore. The restore has to be possible with one click starting from a freshly re-flashed phone. Anything more complex than that will result in the user (i.e., me) making things even worse in the panic, making mistakes like rsyncing from the host to the backup instead of the other way round and so on. You really don't want to be hunting around in wikis for ways to restore from backup when you can't remember the wifi password and you've got a plane to catch and you can't remember which terminal it leaves from, which is precisely the circumstances you usually find yourself in when you need to restore a backup.

The best solution here would be to add a DBus interface to the backup application (there is already a DBus address, com.nokia.backup, but there are no interfaces or objects listed there). I'd guess it's probably not an awfully complicated piece of coding for someone familiar with DBus and glib.

Unfortunately I really really don't have time to do this myself, and this isn't a complaint. Also, Maemo is dead and Meego is the future, so there's not much point doing this for the current distribution. Like I say, just piping up.

Edit to add: turns out backup is a Nokia application and there's no source available. So even if I wanted to do this, I can't.


All times are GMT. The time now is 10:45.

vBulletin® Version 3.8.8