kweller Wrote: 
> Are there command lines I can use to tell SlimServer to shut down and
> restart that I can set up in Windows Scheduler? If I can do that I can
> schedule the back-up as well.
> 
I don't know about Windows, but on Unix/Linux you can create a small
script that will tell Sqlite to backup the database without the need to
shut down SlimServer.

To backup to a gzipped sql file, do something like this:

echo '.dump' | sqlite /path/to/.slimserversql.db | gzip >
slimserver_backup.sql.gz

Or, to backup to a sqlite database:

echo '.dump' | sqlite /path/to/.slimserversql.db | sqlite
slimserver_backup.db

Of course, the script can be placed in a cron tab for scheduled
execution.


-- 
samlw
------------------------------------------------------------------------
samlw's Profile: http://forums.slimdevices.com/member.php?userid=2818
View this thread: http://forums.slimdevices.com/showthread.php?t=19857

_______________________________________________
Discuss mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/discuss

Reply via email to