<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.webos-internals.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Xorg</id>
	<title>WebOS Internals - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.webos-internals.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Xorg"/>
	<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/wiki/Special:Contributions/Xorg"/>
	<updated>2026-04-15T09:35:54Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Backup_Media_Drive_over_WiFi&amp;diff=9601</id>
		<title>Backup Media Drive over WiFi</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Backup_Media_Drive_over_WiFi&amp;diff=9601"/>
		<updated>2010-04-14T23:17:23Z</updated>

		<summary type="html">&lt;p&gt;Xorg: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
This tool creates scheduled backups of /media/internal (usb media drive) or all of /media to a Windows computer over WiFi.  It could also work with NAS drive/Linux/Mac that are setup for cifs/samba access.&lt;br /&gt;
&lt;br /&gt;
There are two methods:&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
1) Partial Media Backup of /media/internal only (bck) &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
- This will backup the USB drive but not the cryptofs apps or PreWare data.&lt;br /&gt;
&lt;br /&gt;
2) Full Media Backup of /media '''(now available)''' (fbk)&lt;br /&gt;
&lt;br /&gt;
- This will backup the USB drive as well as cryptofs and PreWare data.&lt;br /&gt;
&lt;br /&gt;
As with all webos-internals solutions, these functions come with no warranty.&lt;br /&gt;
&lt;br /&gt;
== How this method works ==&lt;br /&gt;
This uses [http://www.webos-internals.org/wiki/Xorg_Tools_-_Power_Tools_for_Power_Users Xorg Tools] to setup the configuration.&lt;br /&gt;
&lt;br /&gt;
It uses existing webOS cifs filesharing and rsync functions to perform the backup.&lt;br /&gt;
&lt;br /&gt;
In a nutshell, it mounts a Windows fileshare onto webOS device and uses rsync to sync.  Cron scheduling is used to automatically run at specified times.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
You need the following tools/knowledge to use this service...&lt;br /&gt;
&lt;br /&gt;
- A Windows PC (or other cifs/samba server) with enough storage available for /media data&amp;lt;br&amp;gt;&lt;br /&gt;
- Terminal access to phone, Terminal app in Preware, or webOS Quick Install&amp;lt;br&amp;gt;&lt;br /&gt;
- Need to know the local IP address of the backup PC&amp;lt;br&amp;gt;&lt;br /&gt;
- Helps to know how to setup Windows print/filesharing&amp;lt;br&amp;gt;&lt;br /&gt;
-- though the xt wizard walks you through setup&lt;br /&gt;
&lt;br /&gt;
This can also be used with a NAS device or Linux/Unix/Mac with samba/cifs services enabled.&lt;br /&gt;
&lt;br /&gt;
== How to install ==&lt;br /&gt;
&lt;br /&gt;
'''Install Xorg Tools'''&lt;br /&gt;
&lt;br /&gt;
Paste this in a terminal session or use webOS Quick Install Linux Command line...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /tmp &amp;amp;&amp;amp; wget -qO- http://dl.dropbox.com/u/3812896/xt.setup | /bin/sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Terminal app (available on Preare) or in a Terminal session...&lt;br /&gt;
&lt;br /&gt;
- Run 'xt' from linux&lt;br /&gt;
&lt;br /&gt;
xt&lt;br /&gt;
&lt;br /&gt;
Find the IP address of the backup computer before continuing.  If you don't know how to find the local IP address on your computer, this is not for you.  Use the local IP address, not the WAN address.  Best to start with local segment and then once working, tinker with router port forwarding to maybe use over EVDO and external WiFi.&lt;br /&gt;
&lt;br /&gt;
'''Initial Setup'''&lt;br /&gt;
&lt;br /&gt;
- adv) advanced menu&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Select type of backup...&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) partial media backup menu - backup /media/internal only&amp;lt;br&amp;gt;&lt;br /&gt;
'''or'''&amp;lt;br&amp;gt;&lt;br /&gt;
- fbk) full media backup menu - backup all of /media&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Perform initial setup...&amp;lt;br&amp;gt;&lt;br /&gt;
- bis) backup initial setup&lt;br /&gt;
&lt;br /&gt;
Follow all instructions very carefully. Re-run bis if you need to change anything.&lt;br /&gt;
&lt;br /&gt;
After setup, run a manual sync.&lt;br /&gt;
&lt;br /&gt;
'''Manual Sync'''&lt;br /&gt;
&lt;br /&gt;
From backup menu...&lt;br /&gt;
&lt;br /&gt;
- pbn) perform backup sync now (manual backup)&lt;br /&gt;
&lt;br /&gt;
The first backup may take hours.  I was getting 2GB/hour, though it varies, so plan first run accordingly.  You should run the first full backup while charging the phone. If this is successful, setup scheduling.  If backup quits in middle, due to power timeouts, restart manual backup again while charging.  If you cannot successfully get a backup started, check Troubleshooting section below.  If overclocking phone, be careful as the first run may overheat phone.  Monitor temp or put phone in front of fan on first run.  I have not had overheating problems but it is possible.&lt;br /&gt;
&lt;br /&gt;
By default, full backup does not backup /media/internal/.palm as it is also in /media/cryptofs.&lt;br /&gt;
&lt;br /&gt;
You will see these errors after every backup.  Not sure what the deal is but everything pertinent should be backed up.  I believe it has issues with . (current dir).  Confirm by checking file count (minus /media/internal/.palm).&lt;br /&gt;
&lt;br /&gt;
rsync: failed to set times on &amp;quot;/mnt/fullbackup/.&amp;quot;: Permission denied (13)&lt;br /&gt;
rsync error: some files could not be transferred (code 23) at main.c(977) [sender=2.6.9]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Scheduling'''&lt;br /&gt;
&lt;br /&gt;
From backup menu...&lt;br /&gt;
&lt;br /&gt;
- sbk) schedule backup&lt;br /&gt;
&lt;br /&gt;
Make sure a full manual backup is complete before scheduling.  There is an issue with cron that it doesn't run some jobs when phone is asleep.  It will consistently sync when you use your phone or if charging.  Am working on it.  If running nightly backups, may need to have your phone charging to run, which is likely for most.  You can confirm by checking the backup log in the morning.&lt;br /&gt;
&lt;br /&gt;
For now the scheduler only allows to pick one backup hour of the day.  After midnight is recommended as you're likely home and in local WiFi segment.  Be careful not to schedule near time of a scheduled reboot, if that is scheduled.  You can manually edit the cron table to meet your needs.  See details at end of page.&lt;br /&gt;
&lt;br /&gt;
== Usage Info ==&lt;br /&gt;
&lt;br /&gt;
- The first run may take hours depending on amount of data.  Best to charge phone while doing the first full backup.  I was getting about 2GB/hour.&lt;br /&gt;
&lt;br /&gt;
- Future backup runs with few changes may only take about 2-5 minutes to run, depending on total number of files and size of changed/new files.&lt;br /&gt;
&lt;br /&gt;
- Overclockers should monitor temp on the first backup.  Might want to place phone in front of fan or remove the overclock temporarily for first run.  Followup differential backups should not be an issue.&lt;br /&gt;
&lt;br /&gt;
- If you delete a file on media drive, it will NOT delete on the Windows backup folder.  Future versions may allow you to control this.&lt;br /&gt;
&lt;br /&gt;
- If you quit a backup or if disrupted in the middle, no problem.  Just run again (scheduled or manual) and it will pickup where it left off.&lt;br /&gt;
&lt;br /&gt;
- If a backup is running on local WiFi at home and you leave with phone in pocket and it switches to EVDO, no problem.  The backup will timeout (2 minutes) and cleanly exit.  It will pickup where it left off on the next scheduled (or manual) run.&lt;br /&gt;
&lt;br /&gt;
- Backup skips encrypted .palm directory (partial backup method), so does not backup the applications. It's not likely a restore would work, so not going there.  For full backup, it's not guaranteed a full restore of /media/cryptofs will work, but it will allow for partial restores on a file basis.  Great for restoring game saves, etc.&lt;br /&gt;
&lt;br /&gt;
- A backup runs at lowest priority so doesn't impact performance of other apps.  Was running Need For Speed during full backup and not one skip in NFS, very smooth.  Assassins Creed ran great.  Backups may impact load times however since it impacts IO more than CPU, but even load times were acceptable.  There doesn't appear to be any noticeable performance impact to other webOS usage due to this.  Even cron runs at a lower priority. &lt;br /&gt;
&lt;br /&gt;
- Cool use.  Take a picture, run a backup and it shows up on your Windows PC.  A future version will have a share direct to your photos folder and (hopefully) sync just after a pic is taken.&lt;br /&gt;
&lt;br /&gt;
- For now, backup scheduling only sets up to run once a day.  You can manually change the cron entry to meet your needs.&lt;br /&gt;
&lt;br /&gt;
- This will also work with NAS drives that support cifs, as well as Linux/Mac/Unix setup as a cifs/samba server.  Just create a backup folder with sharename 'mediabackup' with full read/write permissions.&lt;br /&gt;
&lt;br /&gt;
- Scripters can easily customize the Media Backup plugin.  See [http://www.webos-internals.org/wiki/Xorg_Tools_-_Power_Tools_for_Power_Users Xorg Tools] page on how to customize plugins.&lt;br /&gt;
&lt;br /&gt;
== Excluding Files from Backup ==&lt;br /&gt;
&lt;br /&gt;
Edit this file to add any file/dir patterns you don't want to backup, such as music.  It can also be edited from mounted USB drive using a text editor.&lt;br /&gt;
&lt;br /&gt;
/media/internal/xorgtools/etc/backup-exclude.cfg&lt;br /&gt;
&lt;br /&gt;
Use one line for each entry.  More info here....&lt;br /&gt;
&lt;br /&gt;
[http://articles.slicehost.com/2007/10/10/rsync-exclude-files-and-folders Sample Excludes]&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
'''Permission Errors'''&lt;br /&gt;
&lt;br /&gt;
If you get permission errors when doing a manual sync, check the following...&lt;br /&gt;
&lt;br /&gt;
- Make sure the Windows backup folder share has 'full control'.  On XP, it might say 'allow user to have full access', that must be checked.  Must have read/write access to the share.&amp;lt;br&amp;gt;&lt;br /&gt;
- Ensure the Windows backup folder sharename is 'mediabackup'.  It must be named this.&amp;lt;br&amp;gt;&lt;br /&gt;
- In Vista/Win7, go to Advance Settings in Share tab to create a new sharename.&amp;lt;br&amp;gt;&lt;br /&gt;
- The Windows user account cannot have a space in the name or password.  If so, create a new Windows user/password with no spaces and re-run &amp;quot;backup initial setup&amp;quot;.  &amp;lt;br&amp;gt;&lt;br /&gt;
- First setup over local WiFi segment before attempting to backup over EVDO or external segment.  You'll need to understand port forwarding and router setup to get to work outside of local segment.&amp;lt;br&amp;gt;&lt;br /&gt;
- If you have firewall software, you may need to open ports: 137-139, 445&lt;br /&gt;
&lt;br /&gt;
== Caveats ==&lt;br /&gt;
&lt;br /&gt;
- There is an issue with cron that it doesn't run some jobs when phone is asleep.  It will consistently sync when you use your phone or if charging.  Am working on it.  Check the backup log.  If it didn't sync as expected, run a manual sync. &lt;br /&gt;
&lt;br /&gt;
- The username and password on the Windows PC cannot have any spaces.  You'll need to use or create an account on Windows that has no spaces for the user id and password.&lt;br /&gt;
&lt;br /&gt;
- The backup maintains timestamps.  It will have permission errors on changing times on some '.' directories.  Those are harmless errors.  Ignore them.&lt;br /&gt;
&lt;br /&gt;
- There's a known issue with backing up non-english unicode filenames (thanks Kyusaku).  The rsync in webos doesn't appear to support --conv to do the conversion.  The file backs up OK but with garbled filename, which would need to be renamed.  The optware version of rsync has the --conv flag if you want to install/use that version.&lt;br /&gt;
&lt;br /&gt;
- It turns out that the webOS kernel has built in cifs support and samba is not needed.  If you were an early tester and installed samba (on or before Jan 31), you can remove unless you're using for other reasons.&lt;br /&gt;
&lt;br /&gt;
ipkg-opt remove samba2&lt;br /&gt;
&lt;br /&gt;
== Layout Details ==&lt;br /&gt;
These are the configuration/script files involved if you want to make manual changes.&lt;br /&gt;
&lt;br /&gt;
/media/internal/xorgtools/etc/mediabackup.cfg (stores ip, username, passwd, etc)&amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/xorgtools/etc/backup-exclude.cfg  (files/dirs to exclude in backup)&amp;lt;br&amp;gt;&lt;br /&gt;
/var/spool/cron/crontabs/root  (cron schedling)&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
/media/internal/xorgtools/bck.mnu (the backup menu)&amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/xorgtools/bck (directory of backup scripts)&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How to Remove ==&lt;br /&gt;
&lt;br /&gt;
Remove the backup setup...&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
From backup menu...&lt;br /&gt;
&lt;br /&gt;
- rbk) remove all backup setup &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This removes the backup related entries...&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
/media/internal/xorgtools/etc/mediabackup.cfg&amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/xorgtools/etc/backup-exclude.cfg&amp;lt;br&amp;gt;&lt;br /&gt;
/var/spool/cron/crontabs/root&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
/etc/fstab  (for older versions of xt)&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/hosts  (for older versions of xt)&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can re-install with 'backup initial setup' menu item.&lt;br /&gt;
&lt;br /&gt;
See [http://www.webos-internals.org/wiki/Xorg_Tools_-_Power_Tools_for_Power_Users Xorg Tools] page on how to remove xt.&lt;br /&gt;
&lt;br /&gt;
== ToDos/Requests/Updates ==&lt;br /&gt;
&lt;br /&gt;
Please post other ideas and feature requests here.&lt;br /&gt;
&lt;br /&gt;
Here is the [http://forums.precentral.net/webos-internals/226574-xorg-tools-power-tools-power-users.html PreCentral thread], which also has release notes on new versions.&lt;br /&gt;
&lt;br /&gt;
== Alternate Methods/Other Platforms ==&lt;br /&gt;
&lt;br /&gt;
I chose to do Windows/cifs because that is what most have available and most systems can be configured to use it.  This could be easily modified to use Mac/Linux rysnc by just using rsync daemon (cifs not necessary).  The sync scripts in /media/internal/xorgtools/plugins can be altered by likely just stripping out the cifs mounting and change the rsync command to talk to rsyncd on backup computer.  See [http://www.webos-internals.org/wiki/Xorg_Tools_-_Power_Tools_for_Power_Users Xorg Tools] page on how to modify plugins.&lt;br /&gt;
&lt;br /&gt;
Mac filesharing setup can be found [http://www.webos-internals.org/wiki/Talk:Backup_Media_Drive_over_WiFi here].&lt;br /&gt;
&lt;br /&gt;
== Credits ==&lt;br /&gt;
&lt;br /&gt;
Thanks much to testers... Vincent Law, navinaq, Kyusaku, rlanza1054&lt;/div&gt;</summary>
		<author><name>Xorg</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Backup_Media_Drive_over_WiFi&amp;diff=9576</id>
		<title>Backup Media Drive over WiFi</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Backup_Media_Drive_over_WiFi&amp;diff=9576"/>
		<updated>2010-04-12T01:11:57Z</updated>

		<summary type="html">&lt;p&gt;Xorg: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
This tool creates scheduled backups of /media/internal (usb media drive) or all of /media to a Windows computer over WiFi.  It could also work with NAS drive/Linux/Mac that are setup for cifs/samba access.&lt;br /&gt;
&lt;br /&gt;
There are two methods:&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
1) Partial Media Backup of /media/internal only (bck) &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
- This will backup the USB drive but not the cryptofs apps or PreWare data.&lt;br /&gt;
&lt;br /&gt;
2) Full Media Backup of /media '''(now available)''' (fbk)&lt;br /&gt;
&lt;br /&gt;
- This will backup the USB drive as well as cryptofs and PreWare data.&lt;br /&gt;
&lt;br /&gt;
As with all webos-internals solutions, these functions come with no warranty.&lt;br /&gt;
&lt;br /&gt;
== How this method works ==&lt;br /&gt;
This uses [http://www.webos-internals.org/wiki/Xorg_Tools_-_Power_Tools_for_Power_Users Xorg Tools] to setup the configuration.&lt;br /&gt;
&lt;br /&gt;
It uses existing webOS cifs filesharing and rsync functions to perform the backup.&lt;br /&gt;
&lt;br /&gt;
In a nutshell, it mounts a Windows fileshare onto webOS device and uses rsync to sync.  Cron scheduling is used to automatically run at specified times.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
You need the following tools/knowledge to use this service...&lt;br /&gt;
&lt;br /&gt;
- A Windows PC (or other cifs/samba server) with enough storage available for /media data&amp;lt;br&amp;gt;&lt;br /&gt;
- Terminal access to phone, Terminal app in Preware, or webOS Quick Install&amp;lt;br&amp;gt;&lt;br /&gt;
- Need to know the local IP address of the backup PC&amp;lt;br&amp;gt;&lt;br /&gt;
- Helps to know how to setup Windows print/filesharing&amp;lt;br&amp;gt;&lt;br /&gt;
-- though the xt wizard walks you through setup&lt;br /&gt;
&lt;br /&gt;
This can also be used with a NAS device or Linux/Unix/Mac with samba/cifs services enabled.&lt;br /&gt;
&lt;br /&gt;
== How to install ==&lt;br /&gt;
&lt;br /&gt;
'''Install Xorg Tools'''&lt;br /&gt;
&lt;br /&gt;
Paste this in a terminal session or use webOS Quick Install Linux Command line...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /tmp &amp;amp;&amp;amp; wget -qO- http://dl.dropbox.com/u/3812896/xt.setup | /bin/sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Terminal app (available on Preare) or in a Terminal session...&lt;br /&gt;
&lt;br /&gt;
- Run 'xt' from linux&lt;br /&gt;
&lt;br /&gt;
xt&lt;br /&gt;
&lt;br /&gt;
Find the IP address of the backup computer before continuing.  If you don't know how to find the local IP address on your computer, this is not for you.  Use the local IP address, not the WAN address.  Best to start with local segment and then once working, tinker with router port forwarding to maybe use over EVDO and external WiFi.&lt;br /&gt;
&lt;br /&gt;
'''Initial Setup'''&lt;br /&gt;
&lt;br /&gt;
- adv) advanced menu&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Select type of backup...&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) partial media backup menu - backup /media/internal only&amp;lt;br&amp;gt;&lt;br /&gt;
'''or'''&amp;lt;br&amp;gt;&lt;br /&gt;
- fbk) full media backup menu - backup all of /media&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Perform initial setup...&amp;lt;br&amp;gt;&lt;br /&gt;
- bis) backup initial setup&lt;br /&gt;
&lt;br /&gt;
Follow all instructions very carefully. Re-run bis if you need to change anything.&lt;br /&gt;
&lt;br /&gt;
After setup, run a manual sync.&lt;br /&gt;
&lt;br /&gt;
'''Manual Sync'''&lt;br /&gt;
&lt;br /&gt;
From backup menu...&lt;br /&gt;
&lt;br /&gt;
- pbn) perform backup sync now (manual backup)&lt;br /&gt;
&lt;br /&gt;
The first backup may take hours.  I was getting 2GB/hour, though it varies, so plan first run accordingly.  You should run the first full backup while charging the phone. If this is successful, setup scheduling.  If backup quits in middle, due to power timeouts, restart manual backup again while charging.  If you cannot successfully get a backup started, check Troubleshooting section below.  If overclocking phone, be careful as the first run may overheat phone.  Monitor temp or put phone in front of fan on first run.  I have not had overheating problems but it is possible.&lt;br /&gt;
&lt;br /&gt;
'''Scheduling'''&lt;br /&gt;
&lt;br /&gt;
From backup menu...&lt;br /&gt;
&lt;br /&gt;
- sbk) schedule backup&lt;br /&gt;
&lt;br /&gt;
Make sure a full manual backup is complete before scheduling.  There is an issue with cron that it doesn't run some jobs when phone is asleep.  It will consistently sync when you use your phone or if charging.  Am working on it.  If running nightly backups, may need to have your phone charging to run, which is likely for most.  You can confirm by checking the backup log in the morning.&lt;br /&gt;
&lt;br /&gt;
For now the scheduler only allows to pick one backup hour of the day.  After midnight is recommended as you're likely home and in local WiFi segment.  Be careful not to schedule near time of a scheduled reboot, if that is scheduled.  You can manually edit the cron table to meet your needs.  See details at end of page.&lt;br /&gt;
&lt;br /&gt;
== Usage Info ==&lt;br /&gt;
&lt;br /&gt;
- The first run may take hours depending on amount of data.  Best to charge phone while doing the first full backup.  I was getting about 2GB/hour.&lt;br /&gt;
&lt;br /&gt;
- Future backup runs with few changes may only take about 2-5 minutes to run, depending on total number of files and size of changed/new files.&lt;br /&gt;
&lt;br /&gt;
- Overclockers should monitor temp on the first backup.  Might want to place phone in front of fan or remove the overclock temporarily for first run.  Followup differential backups should not be an issue.&lt;br /&gt;
&lt;br /&gt;
- If you delete a file on media drive, it will NOT delete on the Windows backup folder.  Future versions may allow you to control this.&lt;br /&gt;
&lt;br /&gt;
- If you quit a backup or if disrupted in the middle, no problem.  Just run again (scheduled or manual) and it will pickup where it left off.&lt;br /&gt;
&lt;br /&gt;
- If a backup is running on local WiFi at home and you leave with phone in pocket and it switches to EVDO, no problem.  The backup will timeout (2 minutes) and cleanly exit.  It will pickup where it left off on the next scheduled (or manual) run.&lt;br /&gt;
&lt;br /&gt;
- Backup skips encrypted .palm directory (partial backup method), so does not backup the applications. It's not likely a restore would work, so not going there.  For full backup, it's not guaranteed a full restore of /media/cryptofs will work, but it will allow for partial restores on a file basis.  Great for restoring game saves, etc.&lt;br /&gt;
&lt;br /&gt;
- A backup runs at lowest priority so doesn't impact performance of other apps.  Was running Need For Speed during full backup and not one skip in NFS, very smooth.  Assassins Creed ran great.  Backups may impact load times however since it impacts IO more than CPU, but even load times were acceptable.  There doesn't appear to be any noticeable performance impact to other webOS usage due to this.  Even cron runs at a lower priority. &lt;br /&gt;
&lt;br /&gt;
- Cool use.  Take a picture, run a backup and it shows up on your Windows PC.  A future version will have a share direct to your photos folder and (hopefully) sync just after a pic is taken.&lt;br /&gt;
&lt;br /&gt;
- For now, backup scheduling only sets up to run once a day.  You can manually change the cron entry to meet your needs.&lt;br /&gt;
&lt;br /&gt;
- This will also work with NAS drives that support cifs, as well as Linux/Mac/Unix setup as a cifs/samba server.  Just create a backup folder with sharename 'mediabackup' with full read/write permissions.&lt;br /&gt;
&lt;br /&gt;
- Scripters can easily customize the Media Backup plugin.  See [http://www.webos-internals.org/wiki/Xorg_Tools_-_Power_Tools_for_Power_Users Xorg Tools] page on how to customize plugins.&lt;br /&gt;
&lt;br /&gt;
== Excluding Files from Backup ==&lt;br /&gt;
&lt;br /&gt;
Edit this file to add any file/dir patterns you don't want to backup, such as music.  It can also be edited from mounted USB drive using a text editor.&lt;br /&gt;
&lt;br /&gt;
/media/internal/xorgtools/etc/backup-exclude.cfg&lt;br /&gt;
&lt;br /&gt;
Use one line for each entry.  More info here....&lt;br /&gt;
&lt;br /&gt;
[http://articles.slicehost.com/2007/10/10/rsync-exclude-files-and-folders Sample Excludes]&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
'''Permission Errors'''&lt;br /&gt;
&lt;br /&gt;
If you get permission errors when doing a manual sync, check the following...&lt;br /&gt;
&lt;br /&gt;
- Make sure the Windows backup folder share has 'full control'.  On XP, it might say 'allow user to have full access', that must be checked.  Must have read/write access to the share.&amp;lt;br&amp;gt;&lt;br /&gt;
- Ensure the Windows backup folder sharename is 'mediabackup'.  It must be named this.&amp;lt;br&amp;gt;&lt;br /&gt;
- In Vista/Win7, go to Advance Settings in Share tab to create a new sharename.&amp;lt;br&amp;gt;&lt;br /&gt;
- The Windows user account cannot have a space in the name or password.  If so, create a new Windows user/password with no spaces and re-run &amp;quot;backup initial setup&amp;quot;.  &amp;lt;br&amp;gt;&lt;br /&gt;
- First setup over local WiFi segment before attempting to backup over EVDO or external segment.  You'll need to understand port forwarding and router setup to get to work outside of local segment.&amp;lt;br&amp;gt;&lt;br /&gt;
- If you have firewall software, you may need to open ports: 137-139, 445&lt;br /&gt;
&lt;br /&gt;
== Caveats ==&lt;br /&gt;
&lt;br /&gt;
- There is an issue with cron that it doesn't run some jobs when phone is asleep.  It will consistently sync when you use your phone or if charging.  Am working on it.  Check the backup log.  If it didn't sync as expected, run a manual sync. &lt;br /&gt;
&lt;br /&gt;
- The username and password on the Windows PC cannot have any spaces.  You'll need to use or create an account on Windows that has no spaces for the user id and password.&lt;br /&gt;
&lt;br /&gt;
- The backup maintains timestamps.  It will have permission errors on changing times on some '.' directories.  Those are harmless errors.  Ignore them.&lt;br /&gt;
&lt;br /&gt;
- There's a known issue with backing up non-english unicode filenames (thanks Kyusaku).  The rsync in webos doesn't appear to support --conv to do the conversion.  The file backs up OK but with garbled filename, which would need to be renamed.  The optware version of rsync has the --conv flag if you want to install/use that version.&lt;br /&gt;
&lt;br /&gt;
- It turns out that the webOS kernel has built in cifs support and samba is not needed.  If you were an early tester and installed samba (on or before Jan 31), you can remove unless you're using for other reasons.&lt;br /&gt;
&lt;br /&gt;
ipkg-opt remove samba2&lt;br /&gt;
&lt;br /&gt;
== Layout Details ==&lt;br /&gt;
These are the configuration/script files involved if you want to make manual changes.&lt;br /&gt;
&lt;br /&gt;
/media/internal/xorgtools/etc/mediabackup.cfg (stores ip, username, passwd, etc)&amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/xorgtools/etc/backup-exclude.cfg  (files/dirs to exclude in backup)&amp;lt;br&amp;gt;&lt;br /&gt;
/var/spool/cron/crontabs/root  (cron schedling)&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
/media/internal/xorgtools/bck.mnu (the backup menu)&amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/xorgtools/bck (directory of backup scripts)&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How to Remove ==&lt;br /&gt;
&lt;br /&gt;
Remove the backup setup...&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
From backup menu...&lt;br /&gt;
&lt;br /&gt;
- rbk) remove all backup setup &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This removes the backup related entries...&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
/media/internal/xorgtools/etc/mediabackup.cfg&amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/xorgtools/etc/backup-exclude.cfg&amp;lt;br&amp;gt;&lt;br /&gt;
/var/spool/cron/crontabs/root&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
/etc/fstab  (for older versions of xt)&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/hosts  (for older versions of xt)&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can re-install with 'backup initial setup' menu item.&lt;br /&gt;
&lt;br /&gt;
See [http://www.webos-internals.org/wiki/Xorg_Tools_-_Power_Tools_for_Power_Users Xorg Tools] page on how to remove xt.&lt;br /&gt;
&lt;br /&gt;
== ToDos/Requests/Updates ==&lt;br /&gt;
&lt;br /&gt;
Please post other ideas and feature requests here.&lt;br /&gt;
&lt;br /&gt;
Here is the [http://forums.precentral.net/webos-internals/226574-xorg-tools-power-tools-power-users.html PreCentral thread], which also has release notes on new versions.&lt;br /&gt;
&lt;br /&gt;
== Alternate Methods/Other Platforms ==&lt;br /&gt;
&lt;br /&gt;
I chose to do Windows/cifs because that is what most have available and most systems can be configured to use it.  This could be easily modified to use Mac/Linux rysnc by just using rsync daemon (cifs not necessary).  The sync scripts in /media/internal/xorgtools/plugins can be altered by likely just stripping out the cifs mounting and change the rsync command to talk to rsyncd on backup computer.  See [http://www.webos-internals.org/wiki/Xorg_Tools_-_Power_Tools_for_Power_Users Xorg Tools] page on how to modify plugins.&lt;br /&gt;
&lt;br /&gt;
Mac filesharing setup can be found [http://www.webos-internals.org/wiki/Talk:Backup_Media_Drive_over_WiFi here].&lt;br /&gt;
&lt;br /&gt;
== Credits ==&lt;br /&gt;
&lt;br /&gt;
Thanks much to testers... Vincent Law, navinaq, Kyusaku, rlanza1054&lt;/div&gt;</summary>
		<author><name>Xorg</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Backup_Media_Drive_over_WiFi&amp;diff=9544</id>
		<title>Backup Media Drive over WiFi</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Backup_Media_Drive_over_WiFi&amp;diff=9544"/>
		<updated>2010-04-07T16:59:42Z</updated>

		<summary type="html">&lt;p&gt;Xorg: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
This tool creates scheduled backups of /media/internal (usb media drive) or all of /media to a Windows computer over WiFi.  It could also work with NAS drive/Linux/Mac that are setup for cifs/samba access.&lt;br /&gt;
&lt;br /&gt;
There are two methods:&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
1) Partial Media Backup of /media/internal only (bck) &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
- This will backup the USB drive but not the cryptofs apps or PreWare data.&lt;br /&gt;
&lt;br /&gt;
2) Full Media Backup of /media '''(coming soon)''' (mbk)&lt;br /&gt;
&lt;br /&gt;
- This will backup the USB drive as well as cryptofs and PreWare data.&lt;br /&gt;
&lt;br /&gt;
As with all webos-internals solutions, these functions come with no warranty.&lt;br /&gt;
&lt;br /&gt;
== How this method works ==&lt;br /&gt;
This uses [http://www.webos-internals.org/wiki/Xorg_Tools_-_Power_Tools_for_Power_Users Xorg Tools] to setup the configuration.&lt;br /&gt;
&lt;br /&gt;
It uses existing webOS cifs filesharing and rsync functions to perform the backup.&lt;br /&gt;
&lt;br /&gt;
In a nutshell, it mounts a Windows fileshare onto webOS device and uses rsync to sync.  Cron scheduling is used to automatically run at specified times.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
You need the following tools/knowledge to use this service...&lt;br /&gt;
&lt;br /&gt;
- A Windows PC (or other cifs/samba server) with enough storage available for /media data&amp;lt;br&amp;gt;&lt;br /&gt;
- Terminal access to phone, Terminal app in Preware, or webOS Quick Install&amp;lt;br&amp;gt;&lt;br /&gt;
- Need to know the local IP address of the backup PC&amp;lt;br&amp;gt;&lt;br /&gt;
- Helps to know how to setup Windows print/filesharing&amp;lt;br&amp;gt;&lt;br /&gt;
-- though the xt wizard walks you through setup&lt;br /&gt;
&lt;br /&gt;
This can also be used with a NAS device or Linux/Unix/Mac with samba/cifs services enabled.&lt;br /&gt;
&lt;br /&gt;
== How to install ==&lt;br /&gt;
&lt;br /&gt;
'''Install Xorg Tools'''&lt;br /&gt;
&lt;br /&gt;
Paste this in a terminal session or use webOS Quick Install Linux Command line...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /tmp &amp;amp;&amp;amp; wget -qO- http://dl.dropbox.com/u/3812896/xt.setup | /bin/sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Terminal app (available on Preare) or in a Terminal session...&lt;br /&gt;
&lt;br /&gt;
- Run 'xt' from linux&lt;br /&gt;
&lt;br /&gt;
xt&lt;br /&gt;
&lt;br /&gt;
Find the IP address of the backup computer before continuing.  If you don't know how to find the local IP address on your computer, this is not for you.  Use the local IP address, not the WAN address.  Best to start with local segment and then once working, tinker with router port forwarding to maybe use over EVDO and external WiFi.&lt;br /&gt;
&lt;br /&gt;
'''Initial Setup'''&lt;br /&gt;
&lt;br /&gt;
- adv) advanced menu&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Select type of backup...&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) partial media backup menu - backup /media/internal only&amp;lt;br&amp;gt;&lt;br /&gt;
'''or'''&amp;lt;br&amp;gt;&lt;br /&gt;
- mbk) full media backup menu - backup all of /media&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Perform initial setup...&amp;lt;br&amp;gt;&lt;br /&gt;
- bis) backup initial setup&lt;br /&gt;
&lt;br /&gt;
Follow all instructions very carefully. Re-run bis if you need to change anything.&lt;br /&gt;
&lt;br /&gt;
After setup, run a manual sync.&lt;br /&gt;
&lt;br /&gt;
'''Manual Sync'''&lt;br /&gt;
&lt;br /&gt;
From backup menu...&lt;br /&gt;
&lt;br /&gt;
- pbn) perform backup sync now&lt;br /&gt;
&lt;br /&gt;
The first backup may take hours.  I was getting 2GB/hour, though it varies, so plan first run accordingly.  You should run the first full backup while charging the phone. If this is successful, setup scheduling.   If not successful, check Troubleshooting section below.  If overclocking phone, be careful as the first run may overheat phone.  Monitor temp or put phone in front of fan on first run.  I have not had overheating problems but it is possible.&lt;br /&gt;
&lt;br /&gt;
'''Scheduling'''&lt;br /&gt;
&lt;br /&gt;
From backup menu...&lt;br /&gt;
&lt;br /&gt;
- sbk) schedule backup&lt;br /&gt;
&lt;br /&gt;
Make sure a full manual backup is complete before scheduling.  There is an issue with cron that it doesn't run some jobs when phone is asleep.  It will consistently sync when you use your phone or if charging.  Am working on it.  If running nightly backups, may need to have your phone charging to run, which is likely for most.  You can confirm by checking the backup log in the morning.&lt;br /&gt;
&lt;br /&gt;
For now the scheduler only allows to pick one backup hour of the day.  After midnight is recommended as you're likely home and in local WiFi segment.  Be careful not to schedule near time of a scheduled reboot, if that is scheduled.  You can manually edit the cron table to meet your needs.  See details at end of page.&lt;br /&gt;
&lt;br /&gt;
== Usage Info ==&lt;br /&gt;
&lt;br /&gt;
- The first run may take hours depending on amount of data.  Best to charge phone while doing the first full backup.  I was getting about 2GB/hour.&lt;br /&gt;
&lt;br /&gt;
- Future backup runs with few changes may only take about 2-5 minutes to run, depending on total number of files and size of changed/new files.&lt;br /&gt;
&lt;br /&gt;
- Overclockers should monitor temp on the first backup.  Might want to place phone in front of fan or remove the overclock temporarily for first run.&lt;br /&gt;
&lt;br /&gt;
- If you delete a file on media drive, it will NOT delete on the Windows backup folder.  Future versions may allow you to control this.&lt;br /&gt;
&lt;br /&gt;
- If you quit a backup or if disrupted in the middle, no problem.  Just run again and it will pickup where it left off.&lt;br /&gt;
&lt;br /&gt;
- If a backup is running on local WiFi at home and you leave with phone in pocket and it switches to EVDO, no problem.  The backup will timeout (2 minutes) and cleanly exit.  It will pickup where it left off on the next scheduled (or manual) run.&lt;br /&gt;
&lt;br /&gt;
- Backup skips encrypted .palm directory (partical backup method), so does not backup the applications. It's not likely a restore would work, so not going there.  For full backup, it's not guaranteed a full restore of /media/cryptofs will work, but it will allow for partial restores on a file basis.  Great for restoring game saves, etc.&lt;br /&gt;
&lt;br /&gt;
- A backup runs at lowest priority so doesn't impact performance of other apps.  Was running Need For Speed during full backup and not one skip in NFS, very smooth.  Assassins Creed ran great.  Backups may impact load times however since it impacts IO more than CPU, but even load times were acceptable.  There doesn't appear to be any noticeable performance impact to other webOS usage due to this.  Even cron runs at a lower priority. &lt;br /&gt;
&lt;br /&gt;
- Cool use.  Take a picture, run a backup and it shows up on your Windows PC.  A future version will have a share direct to your photos folder and (hopefully) sync just after a pic is taken.&lt;br /&gt;
&lt;br /&gt;
- For now, backup scheduling only sets up to run once a day.  You can manually change the cron entry to meet your needs.&lt;br /&gt;
&lt;br /&gt;
- This will also work with NAS drives that support cifs, as well as Linux/Mac/Unix setup as a cifs/samba server.  Just create a backup folder with sharename 'mediabackup' with full read/write permissions.&lt;br /&gt;
&lt;br /&gt;
- Scripters can easily customize the Media Backup plugin.  See [http://www.webos-internals.org/wiki/Xorg_Tools_-_Power_Tools_for_Power_Users Xorg Tools] page on how to customize plugins.&lt;br /&gt;
&lt;br /&gt;
== Excluding Files from Backup ==&lt;br /&gt;
&lt;br /&gt;
Edit this file to add any file/dir patterns you don't want to backup, such as music.  It can also be edited from mounted USB drive using a text editor.&lt;br /&gt;
&lt;br /&gt;
/media/internal/xorgtools/etc/backup-exclude.cfg&lt;br /&gt;
&lt;br /&gt;
Use one line for each entry.  More info here....&lt;br /&gt;
&lt;br /&gt;
[http://articles.slicehost.com/2007/10/10/rsync-exclude-files-and-folders Sample Excludes]&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
'''Permission Errors'''&lt;br /&gt;
&lt;br /&gt;
If you get permission errors when doing a manual sync, check the following...&lt;br /&gt;
&lt;br /&gt;
- Make sure the Windows backup folder share has 'full control'.  On XP, it might say 'allow user to have full access', that must be checked.  Must have read/write access to the share.&amp;lt;br&amp;gt;&lt;br /&gt;
- Ensure the Windows backup folder sharename is 'mediabackup'.  It must be named this.&amp;lt;br&amp;gt;&lt;br /&gt;
- In Vista/Win7, go to Advance Settings in Share tab to create a new sharename.&amp;lt;br&amp;gt;&lt;br /&gt;
- The Windows user account cannot have a space in the name or password.  If so, create a new Windows user/password with no spaces and re-run &amp;quot;backup initial setup&amp;quot;.  &amp;lt;br&amp;gt;&lt;br /&gt;
- First setup over local WiFi segment before attempting to backup over EVDO or external segment.  You'll need to understand port forwarding and router setup to get to work outside of local segment.&amp;lt;br&amp;gt;&lt;br /&gt;
- If you have firewall software, you may need to open ports: 137-139, 445&lt;br /&gt;
&lt;br /&gt;
== Caveats ==&lt;br /&gt;
&lt;br /&gt;
- There is an issue with cron that it doesn't run some jobs when phone is asleep.  It will consistently sync when you use your phone or if charging.  Am working on it.  Check the backup log.  If it didn't sync as expected, run a manual sync. &lt;br /&gt;
&lt;br /&gt;
- The username and password on the Windows PC cannot have any spaces.  You'll need to use or create an account on Windows that has no spaces for the user id and password.&lt;br /&gt;
&lt;br /&gt;
- The backup maintains timestamps.  It will have permission errors on changing times on some '.' directories.  Those are harmless errors.  Ignore them.&lt;br /&gt;
&lt;br /&gt;
- There's a known issue with backing up non-english unicode filenames (thanks Kyusaku).  The rsync in webos doesn't appear to support --conv to do the conversion.  The file backs up OK but with garbled filename, which would need to be renamed.  The optware version of rsync has the --conv flag if you want to install/use that version.&lt;br /&gt;
&lt;br /&gt;
- It turns out that the webOS kernel has built in cifs support and samba is not needed.  If you were an early tester and installed samba (on or before Jan 31), you can remove unless you're using for other reasons.&lt;br /&gt;
&lt;br /&gt;
ipkg-opt remove samba2&lt;br /&gt;
&lt;br /&gt;
== Layout Details ==&lt;br /&gt;
These are the configuration/script files involved if you want to make manual changes.&lt;br /&gt;
&lt;br /&gt;
/media/internal/xorgtools/etc/mediabackup.cfg (stores ip, username, passwd, etc)&amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/xorgtools/etc/backup-exclude.cfg  (files/dirs to exclude in backup)&amp;lt;br&amp;gt;&lt;br /&gt;
/var/spool/cron/crontabs/root  (cron schedling)&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
/media/internal/xorgtools/bck.mnu (the backup menu)&amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/xorgtools/bck (directory of backup scripts)&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How to Remove ==&lt;br /&gt;
&lt;br /&gt;
Remove the backup setup...&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
From backup menu...&lt;br /&gt;
&lt;br /&gt;
- rbk) remove all backup setup &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This removes the backup related entries...&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
/media/internal/xorgtools/etc/mediabackup.cfg&amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/xorgtools/etc/backup-exclude.cfg&amp;lt;br&amp;gt;&lt;br /&gt;
/var/spool/cron/crontabs/root&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
/etc/fstab  (for older versions of xt)&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/hosts  (for older versions of xt)&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can re-install with 'backup initial setup' menu item.&lt;br /&gt;
&lt;br /&gt;
See [http://www.webos-internals.org/wiki/Xorg_Tools_-_Power_Tools_for_Power_Users Xorg Tools] page on how to remove xt.&lt;br /&gt;
&lt;br /&gt;
== ToDos/Requests/Updates ==&lt;br /&gt;
&lt;br /&gt;
Please post other ideas and feature requests here.&lt;br /&gt;
&lt;br /&gt;
Here is the [http://forums.precentral.net/webos-internals/226574-xorg-tools-power-tools-power-users.html PreCentral thread], which also has release notes on new versions.&lt;br /&gt;
&lt;br /&gt;
== Alternate Methods/Other Platforms ==&lt;br /&gt;
&lt;br /&gt;
I chose to do Windows/cifs because that is what most have available and most systems can be configured to use it.  This could be easily modified to use Mac/Linux rysnc by just using rsync daemon (cifs not necessary).  The sync scripts in /media/internal/xorgtools/plugins can be altered by likely just stripping out the cifs mounting and change the rsync command to talk to rsyncd on backup computer.  See [http://www.webos-internals.org/wiki/Xorg_Tools_-_Power_Tools_for_Power_Users Xorg Tools] page on how to modify plugins.&lt;br /&gt;
&lt;br /&gt;
Mac filesharing setup can be found [http://www.webos-internals.org/wiki/Talk:Backup_Media_Drive_over_WiFi here].&lt;br /&gt;
&lt;br /&gt;
== Credits ==&lt;br /&gt;
&lt;br /&gt;
Thanks much to testers... Vincent Law, navinaq, Kyusaku, rlanza1054&lt;/div&gt;</summary>
		<author><name>Xorg</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Backup_Media_Drive_over_WiFi&amp;diff=9543</id>
		<title>Backup Media Drive over WiFi</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Backup_Media_Drive_over_WiFi&amp;diff=9543"/>
		<updated>2010-04-07T16:21:40Z</updated>

		<summary type="html">&lt;p&gt;Xorg: /* Troubleshooting */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
This tool creates scheduled backups of /media/internal (usb media drive) to a Windows computer over WiFi.  It could also work with NAS drive/Linux/Mac that are setup for cifs/samba access.&lt;br /&gt;
&lt;br /&gt;
As with all webos-internals solutions, this function comes with no warranty.&lt;br /&gt;
&lt;br /&gt;
== How this method works ==&lt;br /&gt;
This uses [http://www.webos-internals.org/wiki/Xorg_Tools_-_Power_Tools_for_Power_Users Xorg Tools] to setup the configuration.&lt;br /&gt;
&lt;br /&gt;
It uses existing webOS cifs filesharing and rsync functions to perform the backup.&lt;br /&gt;
&lt;br /&gt;
In a nutshell, it mounts a Windows fileshare onto webOS device and uses rsync to sync.  Cron scheduling is used to automatically run at specified times.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
You need the following tools/knowledge to use this service...&lt;br /&gt;
&lt;br /&gt;
- A Windows PC (or other cifs/samba server) with at least 7GB storage available&amp;lt;br&amp;gt;&lt;br /&gt;
- Terminal access to phone, Terminal app in Preware, or webOS Quick Install&amp;lt;br&amp;gt;&lt;br /&gt;
- Need to know the local IP address of the backup PC&amp;lt;br&amp;gt;&lt;br /&gt;
- Helps to know how to setup Windows print/filesharing&amp;lt;br&amp;gt;&lt;br /&gt;
-- though the xt wizard walks you through setup&lt;br /&gt;
&lt;br /&gt;
== How to install ==&lt;br /&gt;
&lt;br /&gt;
'''Install Xorg Tools'''&lt;br /&gt;
&lt;br /&gt;
Paste this in a terminal session or use webOS Quick Install Linux Command line...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /tmp &amp;amp;&amp;amp; wget -qO- http://dl.dropbox.com/u/3812896/xt.setup | /bin/sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Terminal app (available on Preare) or in a Terminal session...&lt;br /&gt;
&lt;br /&gt;
- Run 'xt' from linux&lt;br /&gt;
&lt;br /&gt;
xt&lt;br /&gt;
&lt;br /&gt;
Find the IP address of the backup computer before continuing.  If you don't know how to find the local IP address on your computer, this is not for you.  Use the local IP address, not the WAN address.  Best to start with local segment and then once working, tinker with router port forwarding to maybe use over EVDO and external WiFi.&lt;br /&gt;
&lt;br /&gt;
'''Initial Setup'''&lt;br /&gt;
&lt;br /&gt;
- adv) advanced menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bis) backup initial setup&lt;br /&gt;
&lt;br /&gt;
Follow all instructions very carefully. Re-run bis if you need to change anything.&lt;br /&gt;
&lt;br /&gt;
After setup, run a manual sync.&lt;br /&gt;
&lt;br /&gt;
'''Manual Sync'''&lt;br /&gt;
&lt;br /&gt;
- adv) advanced menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- pbn) perform backup sync now&lt;br /&gt;
&lt;br /&gt;
The first backup may take hours.  I was getting 2GB/hour, though it varies, so plan first run accordingly.  You should run the first full backup while charging the phone. If this is successful, setup scheduling.   If not successful, check Troubleshooting section below.&lt;br /&gt;
&lt;br /&gt;
'''Scheduling'''&lt;br /&gt;
&lt;br /&gt;
- adv) advanced menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- sbk) schedule backup&lt;br /&gt;
&lt;br /&gt;
There is an issue with cron that it doesn't run some jobs when phone is asleep.  It will consistently sync when you use your phone or if charging.  Am working on it.  If running nightly backups, may need to have your phone charging to run, which is likely for most.  You can confirm by checking the backup log in the morning.&lt;br /&gt;
&lt;br /&gt;
For now the scheduler only allows to pick one backup hour of the day.  After midnight is recommended as you're likely home and in local WiFi segment.  Be careful not to schedule near time of a scheduled reboot, if that is scheduled.  You can manually edit the cron table to meet your needs.  See details at end of page.&lt;br /&gt;
&lt;br /&gt;
== Usage Info ==&lt;br /&gt;
&lt;br /&gt;
- The first run may take hours depending on amount of data.  Best to charge phone while doing the first full backup.  I was getting about 2GB/hour.&lt;br /&gt;
&lt;br /&gt;
- Future backup runs with few changes may only take about 2-5 minutes to run, depending on total number of files and size of changed/new files.&lt;br /&gt;
&lt;br /&gt;
- If you delete a file on media drive, it will NOT delete on the Windows backup folder.  Future versions may allow you to control this.&lt;br /&gt;
&lt;br /&gt;
- If you quit a backup or if disrupted in the middle, no problem.  Just run again and it will pickup where it left off.&lt;br /&gt;
&lt;br /&gt;
- If a backup is running on local WiFi at home and you leave with phone in pocket and it switches to EVDO, no problem.  The backup will timeout (2 minutes) and cleanly exit.  It will pickup where it left off on the next scheduled (or manual) run.&lt;br /&gt;
&lt;br /&gt;
- Backup skips encrypted .palm directory, so does not backup the applications. It's not likely a restore would work, so not going there.&lt;br /&gt;
&lt;br /&gt;
- A backup runs at lowest priority so doesn't impact performance of other apps.  Was running Need For Speed during full backup and not one skip in NFS, very smooth.  Assassins Creed ran great.  Backups may impact load times however since it impacts IO more than CPU, but even load times were acceptable.  There doesn't appear to be any noticeable performance impact to other webOS usage due to this.  Even cron runs at a lower priority. &lt;br /&gt;
&lt;br /&gt;
- Cool use.  Take a picture, run a backup and it shows up on your Windows PC.  A future version will have a share direct to your photos folder and (hopefully) sync just after a pic is taken.&lt;br /&gt;
&lt;br /&gt;
- For now, backup scheduling only sets up to run once a day.  You can manually change the cron entry to meet your needs.&lt;br /&gt;
&lt;br /&gt;
- This will also work with NAS drives that support cifs, as well as Linux/Mac/Unix setup as a cifs/samba server.  Just create a backup folder with sharename 'mediabackup' with full read/write permissions.&lt;br /&gt;
&lt;br /&gt;
- Scripters can easily customize the Media Backup plugin.  See [http://www.webos-internals.org/wiki/Xorg_Tools_-_Power_Tools_for_Power_Users Xorg Tools] page on how to customize plugins.&lt;br /&gt;
&lt;br /&gt;
== Excluding Files from Backup ==&lt;br /&gt;
&lt;br /&gt;
Edit this file to add any file/dir patterns you don't want to backup, such as music.  It can also be edited from mounted USB drive using a text editor.&lt;br /&gt;
&lt;br /&gt;
/media/internal/xorgtools/etc/backup-exclude.cfg&lt;br /&gt;
&lt;br /&gt;
Use one line for each entry.  More info here....&lt;br /&gt;
&lt;br /&gt;
[http://articles.slicehost.com/2007/10/10/rsync-exclude-files-and-folders Sample Excludes]&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
'''Permission Errors'''&lt;br /&gt;
&lt;br /&gt;
If you get permission errors when doing a manual sync, check the following...&lt;br /&gt;
&lt;br /&gt;
- Make sure the Windows backup folder share has 'full control'.  On XP, it might say 'allow user to have full access', that must be checked.  Must have read/write access to the share.&amp;lt;br&amp;gt;&lt;br /&gt;
- Ensure the Windows backup folder sharename is 'mediabackup'.  It must be named this.&amp;lt;br&amp;gt;&lt;br /&gt;
- In Vista/Win7, go to Advance Settings in Share tab to create a new sharename.&amp;lt;br&amp;gt;&lt;br /&gt;
- The Windows user account cannot have a space in the name or password.  If so, create a new Windows user/password with no spaces and re-run &amp;quot;backup initial setup&amp;quot;.  &amp;lt;br&amp;gt;&lt;br /&gt;
- First setup over local WiFi segment before attempting to backup over EVDO or external segment.&amp;lt;br&amp;gt;&lt;br /&gt;
- If you have firewall software, you may need to open ports: 137-139, 445&lt;br /&gt;
&lt;br /&gt;
== Caveats ==&lt;br /&gt;
&lt;br /&gt;
- There is an issue with cron that it doesn't run some jobs when phone is asleep.  It will consistently sync when you use your phone or if charging.  Am working on it.  Check the backup log.  If it didn't sync as expected, run a manual sync. &lt;br /&gt;
&lt;br /&gt;
- The username and password on the Windows PC cannot have any spaces.  You'll need to use or create an account on Windows that has no spaces for the user id and password.&lt;br /&gt;
&lt;br /&gt;
- The backup maintains timestamps.  It will have permission errors on changing times on some '.' directories.  Those are harmless errors.  Ignore them.&lt;br /&gt;
&lt;br /&gt;
- There's a known issue with backing up non-english unicode filenames (thanks Kyusaku).  The rsync in webos doesn't appear to support --conv to do the conversion.  The file backs up OK but with garbled filename, which would need to be renamed.  The optware version of rsync has the --conv flag if you want to install/use that version.&lt;br /&gt;
&lt;br /&gt;
- It turns out that the webOS kernel has built in cifs support and samba is not needed.  If you were an early tester and installed samba (on or before Jan 31), you can remove unless you're using for other reasons.&lt;br /&gt;
&lt;br /&gt;
ipkg-opt remove samba2&lt;br /&gt;
&lt;br /&gt;
== Layout Details ==&lt;br /&gt;
These are the configuration/script files involved if you want to make manual changes.&lt;br /&gt;
&lt;br /&gt;
/media/internal/xorgtools/etc/mediabackup.cfg (stores ip, username, passwd, etc)&amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/xorgtools/etc/backup-exclude.cfg  (files/dirs to exclude in backup)&amp;lt;br&amp;gt;&lt;br /&gt;
/var/spool/cron/crontabs/root  (cron schedling)&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
/media/internal/xorgtools/bck.mnu (the backup menu)&amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/xorgtools/bck (directory of backup scripts)&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How to Remove ==&lt;br /&gt;
&lt;br /&gt;
Remove the backup setup...&amp;lt;br&amp;gt;&lt;br /&gt;
- adv) advanced menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- rbk) remove all backup setup &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This removes the backup related entries...&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
/media/internal/xorgtools/etc/mediabackup.cfg&amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/xorgtools/etc/backup-exclude.cfg&amp;lt;br&amp;gt;&lt;br /&gt;
/var/spool/cron/crontabs/root&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
/etc/fstab  (for older versions of xt)&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/hosts  (for older versions of xt)&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can re-install with 'backup initial setup' menu item.&lt;br /&gt;
&lt;br /&gt;
See [http://www.webos-internals.org/wiki/Xorg_Tools_-_Power_Tools_for_Power_Users Xorg Tools] page on how to remove xt.&lt;br /&gt;
&lt;br /&gt;
== ToDos/Requests/Updates ==&lt;br /&gt;
&lt;br /&gt;
Please post other ideas and feature requests here.&lt;br /&gt;
&lt;br /&gt;
Here is the [http://forums.precentral.net/webos-internals/226574-xorg-tools-power-tools-power-users.html PreCentral thread], which also has release notes on new versions.&lt;br /&gt;
&lt;br /&gt;
== Alternate Methods/Other Platforms ==&lt;br /&gt;
&lt;br /&gt;
I chose to do Windows/cifs because that is what most have available and most systems can be configured to use it.  This could be easily modified to use Mac/Linux rysnc by just using rsync daemon (cifs not necessary).  The sync scripts in /media/internal/xorgtools/plugins can be altered by likely just stripping out the cifs mounting and change the rsync command to talk to rsyncd on backup computer.  See [http://www.webos-internals.org/wiki/Xorg_Tools_-_Power_Tools_for_Power_Users Xorg Tools] page on how to modify plugins.&lt;br /&gt;
&lt;br /&gt;
Mac filesharing setup can be found [http://www.webos-internals.org/wiki/Talk:Backup_Media_Drive_over_WiFi here].&lt;br /&gt;
&lt;br /&gt;
== Credits ==&lt;br /&gt;
&lt;br /&gt;
Thanks much to testers... Vincent Law, navinaq, Kyusaku, rlanza1054&lt;/div&gt;</summary>
		<author><name>Xorg</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Backup_Media_Drive_over_WiFi&amp;diff=9542</id>
		<title>Backup Media Drive over WiFi</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Backup_Media_Drive_over_WiFi&amp;diff=9542"/>
		<updated>2010-04-07T16:20:58Z</updated>

		<summary type="html">&lt;p&gt;Xorg: /* Troubleshooting */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
This tool creates scheduled backups of /media/internal (usb media drive) to a Windows computer over WiFi.  It could also work with NAS drive/Linux/Mac that are setup for cifs/samba access.&lt;br /&gt;
&lt;br /&gt;
As with all webos-internals solutions, this function comes with no warranty.&lt;br /&gt;
&lt;br /&gt;
== How this method works ==&lt;br /&gt;
This uses [http://www.webos-internals.org/wiki/Xorg_Tools_-_Power_Tools_for_Power_Users Xorg Tools] to setup the configuration.&lt;br /&gt;
&lt;br /&gt;
It uses existing webOS cifs filesharing and rsync functions to perform the backup.&lt;br /&gt;
&lt;br /&gt;
In a nutshell, it mounts a Windows fileshare onto webOS device and uses rsync to sync.  Cron scheduling is used to automatically run at specified times.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
You need the following tools/knowledge to use this service...&lt;br /&gt;
&lt;br /&gt;
- A Windows PC (or other cifs/samba server) with at least 7GB storage available&amp;lt;br&amp;gt;&lt;br /&gt;
- Terminal access to phone, Terminal app in Preware, or webOS Quick Install&amp;lt;br&amp;gt;&lt;br /&gt;
- Need to know the local IP address of the backup PC&amp;lt;br&amp;gt;&lt;br /&gt;
- Helps to know how to setup Windows print/filesharing&amp;lt;br&amp;gt;&lt;br /&gt;
-- though the xt wizard walks you through setup&lt;br /&gt;
&lt;br /&gt;
== How to install ==&lt;br /&gt;
&lt;br /&gt;
'''Install Xorg Tools'''&lt;br /&gt;
&lt;br /&gt;
Paste this in a terminal session or use webOS Quick Install Linux Command line...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /tmp &amp;amp;&amp;amp; wget -qO- http://dl.dropbox.com/u/3812896/xt.setup | /bin/sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Terminal app (available on Preare) or in a Terminal session...&lt;br /&gt;
&lt;br /&gt;
- Run 'xt' from linux&lt;br /&gt;
&lt;br /&gt;
xt&lt;br /&gt;
&lt;br /&gt;
Find the IP address of the backup computer before continuing.  If you don't know how to find the local IP address on your computer, this is not for you.  Use the local IP address, not the WAN address.  Best to start with local segment and then once working, tinker with router port forwarding to maybe use over EVDO and external WiFi.&lt;br /&gt;
&lt;br /&gt;
'''Initial Setup'''&lt;br /&gt;
&lt;br /&gt;
- adv) advanced menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bis) backup initial setup&lt;br /&gt;
&lt;br /&gt;
Follow all instructions very carefully. Re-run bis if you need to change anything.&lt;br /&gt;
&lt;br /&gt;
After setup, run a manual sync.&lt;br /&gt;
&lt;br /&gt;
'''Manual Sync'''&lt;br /&gt;
&lt;br /&gt;
- adv) advanced menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- pbn) perform backup sync now&lt;br /&gt;
&lt;br /&gt;
The first backup may take hours.  I was getting 2GB/hour, though it varies, so plan first run accordingly.  You should run the first full backup while charging the phone. If this is successful, setup scheduling.   If not successful, check Troubleshooting section below.&lt;br /&gt;
&lt;br /&gt;
'''Scheduling'''&lt;br /&gt;
&lt;br /&gt;
- adv) advanced menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- sbk) schedule backup&lt;br /&gt;
&lt;br /&gt;
There is an issue with cron that it doesn't run some jobs when phone is asleep.  It will consistently sync when you use your phone or if charging.  Am working on it.  If running nightly backups, may need to have your phone charging to run, which is likely for most.  You can confirm by checking the backup log in the morning.&lt;br /&gt;
&lt;br /&gt;
For now the scheduler only allows to pick one backup hour of the day.  After midnight is recommended as you're likely home and in local WiFi segment.  Be careful not to schedule near time of a scheduled reboot, if that is scheduled.  You can manually edit the cron table to meet your needs.  See details at end of page.&lt;br /&gt;
&lt;br /&gt;
== Usage Info ==&lt;br /&gt;
&lt;br /&gt;
- The first run may take hours depending on amount of data.  Best to charge phone while doing the first full backup.  I was getting about 2GB/hour.&lt;br /&gt;
&lt;br /&gt;
- Future backup runs with few changes may only take about 2-5 minutes to run, depending on total number of files and size of changed/new files.&lt;br /&gt;
&lt;br /&gt;
- If you delete a file on media drive, it will NOT delete on the Windows backup folder.  Future versions may allow you to control this.&lt;br /&gt;
&lt;br /&gt;
- If you quit a backup or if disrupted in the middle, no problem.  Just run again and it will pickup where it left off.&lt;br /&gt;
&lt;br /&gt;
- If a backup is running on local WiFi at home and you leave with phone in pocket and it switches to EVDO, no problem.  The backup will timeout (2 minutes) and cleanly exit.  It will pickup where it left off on the next scheduled (or manual) run.&lt;br /&gt;
&lt;br /&gt;
- Backup skips encrypted .palm directory, so does not backup the applications. It's not likely a restore would work, so not going there.&lt;br /&gt;
&lt;br /&gt;
- A backup runs at lowest priority so doesn't impact performance of other apps.  Was running Need For Speed during full backup and not one skip in NFS, very smooth.  Assassins Creed ran great.  Backups may impact load times however since it impacts IO more than CPU, but even load times were acceptable.  There doesn't appear to be any noticeable performance impact to other webOS usage due to this.  Even cron runs at a lower priority. &lt;br /&gt;
&lt;br /&gt;
- Cool use.  Take a picture, run a backup and it shows up on your Windows PC.  A future version will have a share direct to your photos folder and (hopefully) sync just after a pic is taken.&lt;br /&gt;
&lt;br /&gt;
- For now, backup scheduling only sets up to run once a day.  You can manually change the cron entry to meet your needs.&lt;br /&gt;
&lt;br /&gt;
- This will also work with NAS drives that support cifs, as well as Linux/Mac/Unix setup as a cifs/samba server.  Just create a backup folder with sharename 'mediabackup' with full read/write permissions.&lt;br /&gt;
&lt;br /&gt;
- Scripters can easily customize the Media Backup plugin.  See [http://www.webos-internals.org/wiki/Xorg_Tools_-_Power_Tools_for_Power_Users Xorg Tools] page on how to customize plugins.&lt;br /&gt;
&lt;br /&gt;
== Excluding Files from Backup ==&lt;br /&gt;
&lt;br /&gt;
Edit this file to add any file/dir patterns you don't want to backup, such as music.  It can also be edited from mounted USB drive using a text editor.&lt;br /&gt;
&lt;br /&gt;
/media/internal/xorgtools/etc/backup-exclude.cfg&lt;br /&gt;
&lt;br /&gt;
Use one line for each entry.  More info here....&lt;br /&gt;
&lt;br /&gt;
[http://articles.slicehost.com/2007/10/10/rsync-exclude-files-and-folders Sample Excludes]&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
'''Permission Errors'''&lt;br /&gt;
&lt;br /&gt;
If you get permission errors when doing a manual sync, check the following...&lt;br /&gt;
&lt;br /&gt;
- Make sure the Windows backup folder share has 'full control'.  On XP, it might say 'allow user to have full access', that must be checked.  Must have read/write access to the share.&amp;lt;br&amp;gt;&lt;br /&gt;
- Ensure the Windows backup folder sharename is 'mediabackup'.  It must be named this.&amp;lt;br&amp;gt;&lt;br /&gt;
- In Vista/Win7, go to Advance Settings in Share tab to create a new sharename.&amp;lt;br&amp;gt;&lt;br /&gt;
- The Windows user account cannot have a space in the name or password.  If so, create a new Windows user/password with no spaces and re-run &amp;quot;backup initial setup&amp;quot;.  &amp;lt;br&amp;gt;&lt;br /&gt;
- First setup over local WiFi segment before attempting to backup over EVDO or external segment.&lt;br /&gt;
- If you have firewall software, you may need to open ports: 137-139, 445&lt;br /&gt;
&lt;br /&gt;
== Caveats ==&lt;br /&gt;
&lt;br /&gt;
- There is an issue with cron that it doesn't run some jobs when phone is asleep.  It will consistently sync when you use your phone or if charging.  Am working on it.  Check the backup log.  If it didn't sync as expected, run a manual sync. &lt;br /&gt;
&lt;br /&gt;
- The username and password on the Windows PC cannot have any spaces.  You'll need to use or create an account on Windows that has no spaces for the user id and password.&lt;br /&gt;
&lt;br /&gt;
- The backup maintains timestamps.  It will have permission errors on changing times on some '.' directories.  Those are harmless errors.  Ignore them.&lt;br /&gt;
&lt;br /&gt;
- There's a known issue with backing up non-english unicode filenames (thanks Kyusaku).  The rsync in webos doesn't appear to support --conv to do the conversion.  The file backs up OK but with garbled filename, which would need to be renamed.  The optware version of rsync has the --conv flag if you want to install/use that version.&lt;br /&gt;
&lt;br /&gt;
- It turns out that the webOS kernel has built in cifs support and samba is not needed.  If you were an early tester and installed samba (on or before Jan 31), you can remove unless you're using for other reasons.&lt;br /&gt;
&lt;br /&gt;
ipkg-opt remove samba2&lt;br /&gt;
&lt;br /&gt;
== Layout Details ==&lt;br /&gt;
These are the configuration/script files involved if you want to make manual changes.&lt;br /&gt;
&lt;br /&gt;
/media/internal/xorgtools/etc/mediabackup.cfg (stores ip, username, passwd, etc)&amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/xorgtools/etc/backup-exclude.cfg  (files/dirs to exclude in backup)&amp;lt;br&amp;gt;&lt;br /&gt;
/var/spool/cron/crontabs/root  (cron schedling)&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
/media/internal/xorgtools/bck.mnu (the backup menu)&amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/xorgtools/bck (directory of backup scripts)&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How to Remove ==&lt;br /&gt;
&lt;br /&gt;
Remove the backup setup...&amp;lt;br&amp;gt;&lt;br /&gt;
- adv) advanced menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- rbk) remove all backup setup &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This removes the backup related entries...&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
/media/internal/xorgtools/etc/mediabackup.cfg&amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/xorgtools/etc/backup-exclude.cfg&amp;lt;br&amp;gt;&lt;br /&gt;
/var/spool/cron/crontabs/root&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
/etc/fstab  (for older versions of xt)&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/hosts  (for older versions of xt)&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can re-install with 'backup initial setup' menu item.&lt;br /&gt;
&lt;br /&gt;
See [http://www.webos-internals.org/wiki/Xorg_Tools_-_Power_Tools_for_Power_Users Xorg Tools] page on how to remove xt.&lt;br /&gt;
&lt;br /&gt;
== ToDos/Requests/Updates ==&lt;br /&gt;
&lt;br /&gt;
Please post other ideas and feature requests here.&lt;br /&gt;
&lt;br /&gt;
Here is the [http://forums.precentral.net/webos-internals/226574-xorg-tools-power-tools-power-users.html PreCentral thread], which also has release notes on new versions.&lt;br /&gt;
&lt;br /&gt;
== Alternate Methods/Other Platforms ==&lt;br /&gt;
&lt;br /&gt;
I chose to do Windows/cifs because that is what most have available and most systems can be configured to use it.  This could be easily modified to use Mac/Linux rysnc by just using rsync daemon (cifs not necessary).  The sync scripts in /media/internal/xorgtools/plugins can be altered by likely just stripping out the cifs mounting and change the rsync command to talk to rsyncd on backup computer.  See [http://www.webos-internals.org/wiki/Xorg_Tools_-_Power_Tools_for_Power_Users Xorg Tools] page on how to modify plugins.&lt;br /&gt;
&lt;br /&gt;
Mac filesharing setup can be found [http://www.webos-internals.org/wiki/Talk:Backup_Media_Drive_over_WiFi here].&lt;br /&gt;
&lt;br /&gt;
== Credits ==&lt;br /&gt;
&lt;br /&gt;
Thanks much to testers... Vincent Law, navinaq, Kyusaku, rlanza1054&lt;/div&gt;</summary>
		<author><name>Xorg</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Dropbox_Syncing&amp;diff=9294</id>
		<title>Dropbox Syncing</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Dropbox_Syncing&amp;diff=9294"/>
		<updated>2010-03-04T16:49:16Z</updated>

		<summary type="html">&lt;p&gt;Xorg: /* Overview */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
Dropbox is a service that allows syncing files/folders across many computers.  Now there is a way to sync a webOS device to Dropbox.  This is not a native dropbox client.  It connects to a Windows PC that has a Dropbox client installed and syncs the files to that PC's dropbox folder.  It syncs to inbox/outbox folders in each direction.  The current version is not yet able to sync bidirectionally to the same folder, so inbox/outbox folders are used within a defined dropbox folder.&lt;br /&gt;
&lt;br /&gt;
[https://www.dropbox.com/referrals/NTM4MTI4OTY5 Signup free or see for more info on Dropbox.]&lt;br /&gt;
&lt;br /&gt;
Coming soon:  True bidirectional dropbox syncing to the same folder (have it working in a testbed).  In the meantime, separate in/outbox syncing is stable.&lt;br /&gt;
&lt;br /&gt;
== How this method works ==&lt;br /&gt;
This uses Xorg Tools to setup the configuration.&lt;br /&gt;
&lt;br /&gt;
It uses existing cifs filesharing and rsync to perform the dropbox syncing.&lt;br /&gt;
&lt;br /&gt;
In a nutshell, it mounts a Windows fileshare specific to dropbox onto webOS device and uses rsync to sync.  Cron scheduling (limited) is used to periodically check for dropbox updates.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
You need the following tools/knowledge to use this service...&lt;br /&gt;
&lt;br /&gt;
- A dropbox account with client running on a Windows PC&amp;lt;br&amp;gt;&lt;br /&gt;
- PC terminal access to phone, or webOS Quick Install&amp;lt;br&amp;gt;&lt;br /&gt;
- Need to know the local IP address of the PC with dropbox client&amp;lt;br&amp;gt;&lt;br /&gt;
- Helps to know how to setup Windows print/filesharing&amp;lt;br&amp;gt;&lt;br /&gt;
-- though the xt wizard walks you through setup&lt;br /&gt;
&lt;br /&gt;
== How to install ==&lt;br /&gt;
&lt;br /&gt;
'''Install Xorg Tools'''&lt;br /&gt;
&lt;br /&gt;
Paste this in a terminal session or use webOS Quick Install Linux Command line...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /tmp &amp;amp;&amp;amp; wget -qO- http://dl.dropbox.com/u/3812896/xt.setup | /bin/sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Terminal app (available on Preware) or in a Terminal session...&lt;br /&gt;
&lt;br /&gt;
- Run 'xt' from linux&lt;br /&gt;
&lt;br /&gt;
xt&lt;br /&gt;
&lt;br /&gt;
Find the IP address of the computer with dropbox before continuing.  If you don't know how to find the local IP address on your computer, this is not for you.  Use the local IP address, not the WAN address.  Best to start with local segment and then once working, tinker with router port forwarding to maybe use over EVDO and external WiFi.&lt;br /&gt;
&lt;br /&gt;
'''Initial Setup'''&lt;br /&gt;
&lt;br /&gt;
- adv) advanced menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dbx) dropbox menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dbi) dropbox initial setup&lt;br /&gt;
&lt;br /&gt;
Follow all instructions very carefully.&lt;br /&gt;
&lt;br /&gt;
Once installed, run a manual sync.&lt;br /&gt;
&lt;br /&gt;
'''Manual Sync'''&lt;br /&gt;
&lt;br /&gt;
- adv) advanced menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dbx) dropbox menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dsn) dropbox sync now&lt;br /&gt;
&lt;br /&gt;
If this is successful, setup scheduling.  If not successful, see Troubleshooting section below.&lt;br /&gt;
&lt;br /&gt;
'''Scheduling'''&lt;br /&gt;
&lt;br /&gt;
- adv) advanced menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dbx) dropbox menu&amp;lt;br&amp;gt;&lt;br /&gt;
- sds) schedule dropbox sync&lt;br /&gt;
&lt;br /&gt;
There is an issue with cron that it doesn't consistently run jobs when asleep.  It will sync when you use your phone or if charging.  Am working on it.&lt;br /&gt;
&lt;br /&gt;
== Using the Inbox/Outbox Folders ==&lt;br /&gt;
&lt;br /&gt;
This method cannot sync dropbox in both directions to the same folder so inbox and outbox folders are created.&lt;br /&gt;
&lt;br /&gt;
webOS inbox and outbox locations:&amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/dropbox/inbox&amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/dropbox/outbox&lt;br /&gt;
&lt;br /&gt;
Drop a file on webOS outbox and it will appear on Windows inbox.&amp;lt;br&amp;gt;&lt;br /&gt;
Drop a file on Windows outbox and it will appear on webOS inbox.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To delete files, you must do it from the outbox side.  If you delete from the inbox side, it will be updated again.  I hope to find a way around this in a future release.&lt;br /&gt;
&lt;br /&gt;
Use Internalz app (available on Preware) to manage moving files/folders in and out of dropbox.&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
'''Permission Errors'''&lt;br /&gt;
&lt;br /&gt;
If you get permission errors when doing a manual sync, check the following...&lt;br /&gt;
&lt;br /&gt;
- Make sure the Windows backup folder share has 'full control'.  On XP, it might say 'allow user to have full access', that must be checked.  Must have read/write access to the share.&amp;lt;br&amp;gt;&lt;br /&gt;
- Ensure the Windows backup folder sharename is 'webos'.  It must be named this.&amp;lt;br&amp;gt;&lt;br /&gt;
- In Vista/Win7, go to Advance Settings in Share tab to create a new sharename.&amp;lt;br&amp;gt;&lt;br /&gt;
- The Windows user account cannot have a space in the name or password.  If so, create a new Windows user/password with no spaces and re-run &amp;quot;backup initial setup&amp;quot;.  &amp;lt;br&amp;gt;&lt;br /&gt;
- If you have firewall software, you may need to open ports: 137-139, 445&lt;br /&gt;
&lt;br /&gt;
== Caveats ==&lt;br /&gt;
&lt;br /&gt;
- The username and password on the Windows PC cannot have any spaces.  You'll need to use or create an account on Windows that has no spaces for the user id and password.&lt;br /&gt;
&lt;br /&gt;
- The username/password of the Windows PC appear in /etc/fstab.   Anyone know how to hide this?&lt;br /&gt;
&lt;br /&gt;
- It turns out that webos kernel has built in cifs support and samba is not needed.  If you were an early tester and installed samba (on or before Jan 31), you can remove unless you're using for other reasons.&lt;br /&gt;
&lt;br /&gt;
ipkg-opt remove samba&lt;br /&gt;
&lt;br /&gt;
== Layout Details ==&lt;br /&gt;
These are the configuration/script files involved if you want to make manual changes.&lt;br /&gt;
&lt;br /&gt;
/media/internal/xorgtools/etc/dropbox.cfg (stores ip, username, passwd, etc)&amp;lt;br&amp;gt;&lt;br /&gt;
/var/spool/cron/crontabs/root  (cron schedling)&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
/media/internal/xorgtools/dbx.mnu (the dropbox menu)&amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/xorgtools/dbx (directory of dropbox scripts)&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How to Remove ==&lt;br /&gt;
&lt;br /&gt;
Remove the backup setup...&amp;lt;br&amp;gt;&lt;br /&gt;
- adv) advanced menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dbx) dropbox menu&amp;lt;br&amp;gt;&lt;br /&gt;
- rdb) remove all dropbox setup &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This remove the dropbox related entries in...&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/fstab&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/hosts&amp;lt;br&amp;gt;&lt;br /&gt;
/var/spool/cron/crontabs/root&lt;br /&gt;
&lt;br /&gt;
You can re-install with 'dropbox initial setup' menu item.&lt;br /&gt;
&lt;br /&gt;
== ToDos/Requests ==&lt;br /&gt;
&lt;br /&gt;
Please post other ideas and feature requests here.&lt;br /&gt;
&lt;br /&gt;
- Am working on bi-directional syncing to the same folder so that it doesn't need separate in/outbox folders. Have made some progress but it needs thorough testing.  May be a while before released.&lt;br /&gt;
&lt;br /&gt;
== Alternate Methods/Other Platforms ==&lt;br /&gt;
&lt;br /&gt;
I chose to do Windows/cifs because that is what most have available and most systems can be configured to use it.  This could be easily modified to use Mac/Linux rysnc by just using rsync daemon (cifs not necessary).  The sync scripts in /media/internal/xorgtools/plugins can be altered by likely just stripping out the cifs mounting and change the rsync command to talk to rsyncd on backup computer.  See [http://www.webos-internals.org/wiki/Xorg_Tools_-_Power_Tools_for_Power_Users Xorg Tools] page on how to modify plugins.&lt;br /&gt;
&lt;br /&gt;
Mac filesharing setup can be found [http://www.webos-internals.org/wiki/Talk:Backup_Media_Drive_over_WiFi here].&lt;br /&gt;
&lt;br /&gt;
== Credits ==&lt;br /&gt;
&lt;br /&gt;
Thanks much to testers... Vincent Law, navinaq, Kyusaku&lt;/div&gt;</summary>
		<author><name>Xorg</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Dropbox_Syncing&amp;diff=9203</id>
		<title>Dropbox Syncing</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Dropbox_Syncing&amp;diff=9203"/>
		<updated>2010-02-26T22:11:12Z</updated>

		<summary type="html">&lt;p&gt;Xorg: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
Dropbox is a service that allows syncing files/folders across many computers.  Now there is a way to sync a webOS device to Dropbox.  This is not a native dropbox client.  It connects to a Windows PC that has a Dropbox client installed and syncs the files to that PC's dropbox folder.  It syncs to inbox/outbox folders in each direction.  The current version is not yet able to sync bidirectionally to the same folder, so inbox/outbox folders are used within a defined dropbox folder.&lt;br /&gt;
&lt;br /&gt;
[https://www.dropbox.com/referrals/NTM4MTI4OTY5 Signup free or see for more info on Dropbox.]&lt;br /&gt;
&lt;br /&gt;
== How this method works ==&lt;br /&gt;
This uses Xorg Tools to setup the configuration.&lt;br /&gt;
&lt;br /&gt;
It uses existing cifs filesharing and rsync to perform the dropbox syncing.&lt;br /&gt;
&lt;br /&gt;
In a nutshell, it mounts a Windows fileshare specific to dropbox onto webOS device and uses rsync to sync.  Cron scheduling (limited) is used to periodically check for dropbox updates.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
You need the following tools/knowledge to use this service...&lt;br /&gt;
&lt;br /&gt;
- A dropbox account with client running on a Windows PC&amp;lt;br&amp;gt;&lt;br /&gt;
- PC terminal access to phone, or webOS Quick Install&amp;lt;br&amp;gt;&lt;br /&gt;
- Need to know the local IP address of the PC with dropbox client&amp;lt;br&amp;gt;&lt;br /&gt;
- Helps to know how to setup Windows print/filesharing&amp;lt;br&amp;gt;&lt;br /&gt;
-- though the xt wizard walks you through setup&lt;br /&gt;
&lt;br /&gt;
== How to install ==&lt;br /&gt;
&lt;br /&gt;
'''Install Xorg Tools'''&lt;br /&gt;
&lt;br /&gt;
Paste this in a terminal session or use webOS Quick Install Linux Command line...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /tmp &amp;amp;&amp;amp; wget -qO- http://dl.dropbox.com/u/3812896/xt.setup | /bin/sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Terminal app (available on Preware) or in a Terminal session...&lt;br /&gt;
&lt;br /&gt;
- Run 'xt' from linux&lt;br /&gt;
&lt;br /&gt;
xt&lt;br /&gt;
&lt;br /&gt;
Find the IP address of the computer with dropbox before continuing.  If you don't know how to find the local IP address on your computer, this is not for you.  Use the local IP address, not the WAN address.  Best to start with local segment and then once working, tinker with router port forwarding to maybe use over EVDO and external WiFi.&lt;br /&gt;
&lt;br /&gt;
'''Initial Setup'''&lt;br /&gt;
&lt;br /&gt;
- adv) advanced menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dbx) dropbox menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dbi) dropbox initial setup&lt;br /&gt;
&lt;br /&gt;
Follow all instructions very carefully.&lt;br /&gt;
&lt;br /&gt;
Once installed, run a manual sync.&lt;br /&gt;
&lt;br /&gt;
'''Manual Sync'''&lt;br /&gt;
&lt;br /&gt;
- adv) advanced menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dbx) dropbox menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dsn) dropbox sync now&lt;br /&gt;
&lt;br /&gt;
If this is successful, setup scheduling.  If not successful, see Troubleshooting section below.&lt;br /&gt;
&lt;br /&gt;
'''Scheduling'''&lt;br /&gt;
&lt;br /&gt;
- adv) advanced menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dbx) dropbox menu&amp;lt;br&amp;gt;&lt;br /&gt;
- sds) schedule dropbox sync&lt;br /&gt;
&lt;br /&gt;
There is an issue with cron that it doesn't consistently run jobs when asleep.  It will sync when you use your phone or if charging.  Am working on it.&lt;br /&gt;
&lt;br /&gt;
== Using the Inbox/Outbox Folders ==&lt;br /&gt;
&lt;br /&gt;
This method cannot sync dropbox in both directions to the same folder so inbox and outbox folders are created.&lt;br /&gt;
&lt;br /&gt;
webOS inbox and outbox locations:&amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/dropbox/inbox&amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/dropbox/outbox&lt;br /&gt;
&lt;br /&gt;
Drop a file on webOS outbox and it will appear on Windows inbox.&amp;lt;br&amp;gt;&lt;br /&gt;
Drop a file on Windows outbox and it will appear on webOS inbox.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To delete files, you must do it from the outbox side.  If you delete from the inbox side, it will be updated again.  I hope to find a way around this in a future release.&lt;br /&gt;
&lt;br /&gt;
Use Internalz app (available on Preware) to manage moving files/folders in and out of dropbox.&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
'''Permission Errors'''&lt;br /&gt;
&lt;br /&gt;
If you get permission errors when doing a manual sync, check the following...&lt;br /&gt;
&lt;br /&gt;
- Make sure the Windows backup folder share has 'full control'.  On XP, it might say 'allow user to have full access', that must be checked.  Must have read/write access to the share.&amp;lt;br&amp;gt;&lt;br /&gt;
- Ensure the Windows backup folder sharename is 'webos'.  It must be named this.&amp;lt;br&amp;gt;&lt;br /&gt;
- In Vista/Win7, go to Advance Settings in Share tab to create a new sharename.&amp;lt;br&amp;gt;&lt;br /&gt;
- The Windows user account cannot have a space in the name or password.  If so, create a new Windows user/password with no spaces and re-run &amp;quot;backup initial setup&amp;quot;.  &amp;lt;br&amp;gt;&lt;br /&gt;
- If you have firewall software, you may need to open ports: 137-139, 445&lt;br /&gt;
&lt;br /&gt;
== Caveats ==&lt;br /&gt;
&lt;br /&gt;
- The username and password on the Windows PC cannot have any spaces.  You'll need to use or create an account on Windows that has no spaces for the user id and password.&lt;br /&gt;
&lt;br /&gt;
- The username/password of the Windows PC appear in /etc/fstab.   Anyone know how to hide this?&lt;br /&gt;
&lt;br /&gt;
- It turns out that webos kernel has built in cifs support and samba is not needed.  If you were an early tester and installed samba (on or before Jan 31), you can remove unless you're using for other reasons.&lt;br /&gt;
&lt;br /&gt;
ipkg-opt remove samba&lt;br /&gt;
&lt;br /&gt;
== Layout Details ==&lt;br /&gt;
These are the configuration/script files involved if you want to make manual changes.&lt;br /&gt;
&lt;br /&gt;
/media/internal/xorgtools/etc/dropbox.cfg (stores ip, username, passwd, etc)&amp;lt;br&amp;gt;&lt;br /&gt;
/var/spool/cron/crontabs/root  (cron schedling)&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
/media/internal/xorgtools/dbx.mnu (the dropbox menu)&amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/xorgtools/dbx (directory of dropbox scripts)&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How to Remove ==&lt;br /&gt;
&lt;br /&gt;
Remove the backup setup...&amp;lt;br&amp;gt;&lt;br /&gt;
- adv) advanced menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dbx) dropbox menu&amp;lt;br&amp;gt;&lt;br /&gt;
- rdb) remove all dropbox setup &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This remove the dropbox related entries in...&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/fstab&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/hosts&amp;lt;br&amp;gt;&lt;br /&gt;
/var/spool/cron/crontabs/root&lt;br /&gt;
&lt;br /&gt;
You can re-install with 'dropbox initial setup' menu item.&lt;br /&gt;
&lt;br /&gt;
== ToDos/Requests ==&lt;br /&gt;
&lt;br /&gt;
Please post other ideas and feature requests here.&lt;br /&gt;
&lt;br /&gt;
- Am working on bi-directional syncing to the same folder so that it doesn't need separate in/outbox folders. Have made some progress but it needs thorough testing.  May be a while before released.&lt;br /&gt;
&lt;br /&gt;
== Alternate Methods/Other Platforms ==&lt;br /&gt;
&lt;br /&gt;
I chose to do Windows/cifs because that is what most have available and most systems can be configured to use it.  This could be easily modified to use Mac/Linux rysnc by just using rsync daemon (cifs not necessary).  The sync scripts in /media/internal/xorgtools/plugins can be altered by likely just stripping out the cifs mounting and change the rsync command to talk to rsyncd on backup computer.  See [http://www.webos-internals.org/wiki/Xorg_Tools_-_Power_Tools_for_Power_Users Xorg Tools] page on how to modify plugins.&lt;br /&gt;
&lt;br /&gt;
Mac filesharing setup can be found [http://www.webos-internals.org/wiki/Talk:Backup_Media_Drive_over_WiFi here].&lt;br /&gt;
&lt;br /&gt;
== Credits ==&lt;br /&gt;
&lt;br /&gt;
Thanks much to testers... Vincent Law, navinaq, Kyusaku&lt;/div&gt;</summary>
		<author><name>Xorg</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Dropbox_Syncing&amp;diff=9202</id>
		<title>Dropbox Syncing</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Dropbox_Syncing&amp;diff=9202"/>
		<updated>2010-02-26T22:06:34Z</updated>

		<summary type="html">&lt;p&gt;Xorg: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
Dropbox is a service that allows syncing files/folders across many computers.  Now there is a way to sync a webOS device to Dropbox.  This is not a native dropbox client.  It connects to a Windows PC that has a Dropbox client installed and syncs the files to that PC's dropbox folder.  It syncs to inbox/outbox folders in each direction.  The current version is not yet able to sync bidirectionally to the same folder, so inbox/outbox folders are used within a defined dropbox folder.&lt;br /&gt;
&lt;br /&gt;
[https://www.dropbox.com/referrals/NTM4MTI4OTY5 Signup free or see for more info on Dropbox.]&lt;br /&gt;
&lt;br /&gt;
== How this method works ==&lt;br /&gt;
This uses Xorg Tools to setup the configuration.&lt;br /&gt;
&lt;br /&gt;
It uses existing cifs filesharing and rsync to perform the dropbox syncing.&lt;br /&gt;
&lt;br /&gt;
In a nutshell, it mounts a Windows fileshare specific to dropbox onto webOS device and uses rsync to sync.  Cron scheduling (limited) is used to periodically check for dropbox updates.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
You need the following tools/knowledge to use this service...&lt;br /&gt;
&lt;br /&gt;
- A dropbox account with client running on a Windows PC&amp;lt;br&amp;gt;&lt;br /&gt;
- PC terminal access to phone, or webOS Quick Install&amp;lt;br&amp;gt;&lt;br /&gt;
- Need to know the local IP address of the PC with dropbox client&amp;lt;br&amp;gt;&lt;br /&gt;
- Helps to know how to setup Windows print/filesharing&amp;lt;br&amp;gt;&lt;br /&gt;
-- though the xt wizard walks you through setup&lt;br /&gt;
&lt;br /&gt;
== How to install ==&lt;br /&gt;
&lt;br /&gt;
'''Install Xorg Tools'''&lt;br /&gt;
&lt;br /&gt;
Paste this in a terminal session or use webOS Quick Install Linux Command line...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /tmp &amp;amp;&amp;amp; wget -qO- http://dl.dropbox.com/u/3812896/xt.setup | /bin/sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Terminal app (available on Preware) or in a Terminal session...&lt;br /&gt;
&lt;br /&gt;
- Run 'xt' from linux&lt;br /&gt;
&lt;br /&gt;
xt&lt;br /&gt;
&lt;br /&gt;
Find the IP address of the computer with dropbox before continuing.  If you don't know how to find the local IP address on your computer, this is not for you.  Use the local IP address, not the WAN address.  Best to start with local segment and then once working, tinker with router port forwarding to maybe use over EVDO and external WiFi.&lt;br /&gt;
&lt;br /&gt;
'''Initial Setup'''&lt;br /&gt;
&lt;br /&gt;
- adv) advanced menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dbx) dropbox menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dbi) dropbox initial setup&lt;br /&gt;
&lt;br /&gt;
Follow all instructions very carefully.&lt;br /&gt;
&lt;br /&gt;
Once installed, run a manual sync.&lt;br /&gt;
&lt;br /&gt;
'''Manual Sync'''&lt;br /&gt;
&lt;br /&gt;
- adv) advanced menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dbx) dropbox menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dsn) dropbox sync now&lt;br /&gt;
&lt;br /&gt;
If this is successful, setup scheduling.&lt;br /&gt;
&lt;br /&gt;
'''Scheduling'''&lt;br /&gt;
&lt;br /&gt;
- adv) advanced menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dbx) dropbox menu&amp;lt;br&amp;gt;&lt;br /&gt;
- sds) schedule dropbox sync&lt;br /&gt;
&lt;br /&gt;
There is an issue with cron that it doesn't consistently run jobs when asleep.  It will sync when you use your phone or if charging.  Am working on it.&lt;br /&gt;
&lt;br /&gt;
== Using the Inbox/Outbox Folders ==&lt;br /&gt;
&lt;br /&gt;
This method cannot sync dropbox in both directions to the same folder so inbox and outbox folders are created.&lt;br /&gt;
&lt;br /&gt;
webOS inbox and outbox locations:&amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/dropbox/inbox&amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/dropbox/outbox&lt;br /&gt;
&lt;br /&gt;
Drop a file on webOS outbox and it will appear on Windows inbox.&amp;lt;br&amp;gt;&lt;br /&gt;
Drop a file on Windows outbox and it will appear on webOS inbox.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To delete files, you must do it from the outbox side.  If you delete from the inbox side, it will be updated again.  I hope to find a way around this in a future release.&lt;br /&gt;
&lt;br /&gt;
Use Internalz app (available on Preware) to manage moving files/folders in and out of dropbox.&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
'''Permission Errors'''&lt;br /&gt;
&lt;br /&gt;
If you get permission errors when doing a manual sync, check the following...&lt;br /&gt;
&lt;br /&gt;
- Make sure the Windows backup folder share has 'full control'.  Must have read/write access to the share.&amp;lt;br&amp;gt;&lt;br /&gt;
- Ensure the Windows folder _sharename_ is 'webos'.  It must be named this.&amp;lt;br&amp;gt;&lt;br /&gt;
- The Windows user account cannot have a space in the name or password.  If so, create a new Windows user with no space/password and re-run backup initial setup.&lt;br /&gt;
&lt;br /&gt;
== Caveats ==&lt;br /&gt;
&lt;br /&gt;
- The username and password on the Windows PC cannot have any spaces.  You'll need to use or create an account on Windows that has no spaces for the user id and password.&lt;br /&gt;
&lt;br /&gt;
- The username/password of the Windows PC appear in /etc/fstab.   Anyone know how to hide this?&lt;br /&gt;
&lt;br /&gt;
- It turns out that webos kernel has built in cifs support and samba is not needed.  If you were an early tester and installed samba (on or before Jan 31), you can remove unless you're using for other reasons.&lt;br /&gt;
&lt;br /&gt;
ipkg-opt remove samba&lt;br /&gt;
&lt;br /&gt;
== Layout Details ==&lt;br /&gt;
These are the configuration/script files involved if you want to make manual changes.&lt;br /&gt;
&lt;br /&gt;
/media/internal/xorgtools/etc/dropbox.cfg (stores ip, username, passwd, etc)&amp;lt;br&amp;gt;&lt;br /&gt;
/var/spool/cron/crontabs/root  (cron schedling)&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
/media/internal/xorgtools/dbx.mnu (the dropbox menu)&amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/xorgtools/dbx (directory of dropbox scripts)&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How to Remove ==&lt;br /&gt;
&lt;br /&gt;
Remove the backup setup...&amp;lt;br&amp;gt;&lt;br /&gt;
- adv) advanced menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dbx) dropbox menu&amp;lt;br&amp;gt;&lt;br /&gt;
- rdb) remove all dropbox setup &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This remove the dropbox related entries in...&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/fstab&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/hosts&amp;lt;br&amp;gt;&lt;br /&gt;
/var/spool/cron/crontabs/root&lt;br /&gt;
&lt;br /&gt;
You can re-install with 'dropbox initial setup' menu item.&lt;br /&gt;
&lt;br /&gt;
== ToDos/Requests ==&lt;br /&gt;
&lt;br /&gt;
Looking for help on triggering the sync when a file changes in /media/internal/dropbox/outbox.  It can likely be done with Upstart inotify but I'm not too up on Upstart.  Could use some help. - pm me at precentral - xorg.&lt;br /&gt;
&lt;br /&gt;
Please post other ideas and feature requests here.&lt;br /&gt;
&lt;br /&gt;
- Am working on bi-directional syncing to the same folder so that it doesn't need separate in/outbox folders. Have made some progress but it will need a lot of testing.  May be a while before released.&lt;br /&gt;
&lt;br /&gt;
== Alternate Methods/Other Platforms ==&lt;br /&gt;
&lt;br /&gt;
I chose to do Windows/cifs because that is what most have available and most systems can be configured to use it.  This could be easily modified to use Mac/Linux rysnc by just using rsync daemon (cifs not necessary).  The sync scripts in /media/internal/xorgtools/plugins can be altered by likely just stripping out the cifs mounting and change the rsync command to talk to rsyncd on backup computer.  See [http://www.webos-internals.org/wiki/Xorg_Tools_-_Power_Tools_for_Power_Users Xorg Tools] page on how to modify plugins.&lt;br /&gt;
&lt;br /&gt;
Mac filesharing setup can be found [http://www.webos-internals.org/wiki/Talk:Backup_Media_Drive_over_WiFi here].&lt;br /&gt;
&lt;br /&gt;
== Credits ==&lt;br /&gt;
&lt;br /&gt;
Thanks much to testers... Vincent Law, navinaq, Kyusaku&lt;/div&gt;</summary>
		<author><name>Xorg</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Xorg_Tools_-_Power_Tools_for_Power_Users&amp;diff=9201</id>
		<title>Xorg Tools - Power Tools for Power Users</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Xorg_Tools_-_Power_Tools_for_Power_Users&amp;diff=9201"/>
		<updated>2010-02-26T21:58:11Z</updated>

		<summary type="html">&lt;p&gt;Xorg: /* Guides */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
Xorg Tools (aka xt) is a Linux script that sets up lower level Linux services or power user functions on webOS devices.  Xorg Tools will approach functions that may not make it as a webOS app.  Many xt functions are setups of optware services/commands or implementations of webos-internals.org pages that never made it to an app (credits are given).  &lt;br /&gt;
&lt;br /&gt;
Xorg Tools is intended for Power Users, those generally experienced with making lower level configurations to their phones and computers. If you can use vi editor, xt is for you.  If you are comfortable with command lines, xt is probably for you. Using these tools may require some knowledge to setup connectivity with other systems.  In some cases Linux/app-specific knowledge is needed for more detailed configuration, but in most cases xt will do the basic setup to get things working.&lt;br /&gt;
&lt;br /&gt;
Xorg Tools runs from a terminal session (or Terminal app available in PreWare) as 'xt' command.  As xt matures, it may run from Launcher (launching terminal app with xt menu).  Xorg Tools can be used either in menu mode or with command arguments.&lt;br /&gt;
&lt;br /&gt;
== Initial Features ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 1) Diagnostics - analyzes storage usage, seeks known problem areas of webOS devices.&lt;br /&gt;
 2) Scheduling - sets up Linux cron to allow scheduling apps or daily reboots.&lt;br /&gt;
 3) Performance - changing priority of key processes (more capabilities in future).&lt;br /&gt;
 4) mvapp - maintains relevant mvapp commands for recovery, continues support for linking email.&lt;br /&gt;
 5) optware - base optware setup (via webOS-internals boostrap)&lt;br /&gt;
 6) File Sharing - sets up samba filesharing, both in/outbound connections &lt;br /&gt;
 7) PreWare Install - easily install/update PreWare from a Terminal session.&lt;br /&gt;
 8) Dropbox sync - sync your webos device to Dropbox filesharing service &lt;br /&gt;
 9) Backup Media Drive over WiFi - scheduled automatic backups of media to a PC.&lt;br /&gt;
10) IOBox File Syncing - sync files to any PC or NAS device that supports cifs/samba.&lt;br /&gt;
 &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Many more things are planned like aiding the install/setup of webos-internals pages like emulators, vnc, dynamic dns, network tunables, etc.  If needed someday, a malware scanner also might be in xt's future.  Taking requests for features/functions that likely would not make it as a webOS app.  Am seeking other optware packages that could be useful under webOS - CUPS printing?&lt;br /&gt;
&lt;br /&gt;
While many experienced with Linux can setup these by reading the webos-internals pages, the target for xt is to set this stuff up for you in one shot and make it more accessible.&lt;br /&gt;
&lt;br /&gt;
== Initial Release ==&lt;br /&gt;
A development version is now available.  It will not be released on Homebrew installers for a while as this isn't intended for the masses yet.  For now xt is for power users who can manage lower level changes..  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Paste this in a Terminal session or in WebOS QI Linux Commandline...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
wget -qO- http://tinyurl.com/xt-setup | /bin/sh&lt;br /&gt;
&lt;br /&gt;
xt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Check for daily updates...&lt;br /&gt;
&lt;br /&gt;
xt upd&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Removing Xorg Tools ==&lt;br /&gt;
First remove any setup that xt creates from the respective xt menus, such as cron setup, samba services, optware, etc. unless you know how to remove those manually or want to keep any of these.&lt;br /&gt;
&lt;br /&gt;
For now xt itself needs to be removed manually from a Terminal session...&amp;lt;br&amp;gt;&lt;br /&gt;
rm /usr/local/bin/xt&amp;lt;br&amp;gt;&lt;br /&gt;
cd /media/internal&amp;lt;br&amp;gt;&lt;br /&gt;
rm -r xorgtools&lt;br /&gt;
&lt;br /&gt;
== Adding/Modifying Plugins ==&lt;br /&gt;
Scripters can add their own plugins to xorg tools menus or customize existing ones.  Scripters should not directly customize plugins that are included with xt as the plugins will be overwritten with the next update.  Best to copy the plugin and modify it.  Existing plugins can also be used as templates if you want to add your own plugin.  If you'd like to submit a plugin for distribution, PM 'xorg' on PreCentral.&lt;br /&gt;
&lt;br /&gt;
Example using Media backup plugin:&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Xorg Tools menus will automatically list all items that end in .mnu in the plugins folder.&lt;br /&gt;
&lt;br /&gt;
cd /media/internal/xorgtools/plugins&amp;lt;br&amp;gt;&lt;br /&gt;
ls&amp;lt;br&amp;gt;&lt;br /&gt;
bck         bck.mnu &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(copy the menu script)&amp;lt;br&amp;gt;&lt;br /&gt;
cp bck.mnu tst.mnu&amp;lt;br&amp;gt;&lt;br /&gt;
vi tst.mnu&amp;lt;br&amp;gt;&lt;br /&gt;
(edit the tag: line)&amp;lt;br&amp;gt;&lt;br /&gt;
tag:f1:f2:f3&amp;lt;br&amp;gt;&lt;br /&gt;
f1 - the title of the service that will appear in the plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
f2 - the three letter selection code that will appear in plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
f3 - the filename of menu script&amp;lt;br&amp;gt;&lt;br /&gt;
f4 - which menu to place in: basic, advanced, experimental&lt;br /&gt;
&lt;br /&gt;
cp -r bck tst&amp;lt;br&amp;gt;&lt;br /&gt;
cd tst&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Edit these scripts as you'd like, they can be named anything.  Edit tst.mnu above to launch each script per the menu selection items.&lt;br /&gt;
&lt;br /&gt;
== Support/Discussion ==&lt;br /&gt;
See the [http://forums.precentral.net/webos-internals/226574-xorg-tools-power-tools-power-users.html PreCentral Thread] for support, questions and discussion.&lt;br /&gt;
&lt;br /&gt;
== License ==&lt;br /&gt;
Xorg Tools follows the [http://www.webos-internals.org/wiki/MIT_Open_Source_License_-_webOS-Patches webos-internals MIT license model].  &lt;br /&gt;
&lt;br /&gt;
Developers are encouraged to use xt code or concepts in other projects, per the terms of the license.  If a function of xt is eventually better maintained in another project, the xt feature will likely be redirected to that project and in some cases adopted back into xt.&lt;br /&gt;
&lt;br /&gt;
== Guides ==&lt;br /&gt;
&lt;br /&gt;
This section points to additional guides to further configure any optware or other tools that is an xt function.&lt;br /&gt;
&lt;br /&gt;
Feel free to add other guides, such as connection to Windows and Mac.&lt;br /&gt;
&lt;br /&gt;
'''Media Backup over WiFi'''&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.webos-internals.org/wiki/Backup_Media_Drive_over_WiFi Setup Instructions]&lt;br /&gt;
&lt;br /&gt;
'''Dropbox Syncing'''&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.webos-internals.org/wiki/Dropbox_Syncing Setup Instructions]&lt;br /&gt;
&lt;br /&gt;
'''In/Outbox Syncing'''&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.webos-internals.org/wiki/IOBox_-_PC_File_Syncing_%28xorg_tools%29 IOBox Setup instructions]&lt;br /&gt;
&lt;br /&gt;
'''Filesharing''':&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.webos-internals.org/wiki/Samba_Access Samba Setup] - from webos-internals&amp;lt;br&amp;gt;&lt;br /&gt;
[http://us3.samba.org/samba Official Samba Site] - use for more detailed setup&amp;lt;br&amp;gt;&lt;br /&gt;
[http://forums.precentral.net/showthread.php?p=2173985 Windows Mounting] - how to setup a share mountpoint with Windows&lt;br /&gt;
&lt;br /&gt;
'''Cron Scheduling'''&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.webos-internals.org/wiki/Crond Initial Cron Setup] - from webos-internals&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.pantz.org/software/cron/croninfo.html Cron Guide] - a guide with more details&lt;/div&gt;</summary>
		<author><name>Xorg</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Xorg_Tools_-_Power_Tools_for_Power_Users&amp;diff=9200</id>
		<title>Xorg Tools - Power Tools for Power Users</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Xorg_Tools_-_Power_Tools_for_Power_Users&amp;diff=9200"/>
		<updated>2010-02-26T21:51:09Z</updated>

		<summary type="html">&lt;p&gt;Xorg: /* Removing Xorg Tools */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
Xorg Tools (aka xt) is a Linux script that sets up lower level Linux services or power user functions on webOS devices.  Xorg Tools will approach functions that may not make it as a webOS app.  Many xt functions are setups of optware services/commands or implementations of webos-internals.org pages that never made it to an app (credits are given).  &lt;br /&gt;
&lt;br /&gt;
Xorg Tools is intended for Power Users, those generally experienced with making lower level configurations to their phones and computers. If you can use vi editor, xt is for you.  If you are comfortable with command lines, xt is probably for you. Using these tools may require some knowledge to setup connectivity with other systems.  In some cases Linux/app-specific knowledge is needed for more detailed configuration, but in most cases xt will do the basic setup to get things working.&lt;br /&gt;
&lt;br /&gt;
Xorg Tools runs from a terminal session (or Terminal app available in PreWare) as 'xt' command.  As xt matures, it may run from Launcher (launching terminal app with xt menu).  Xorg Tools can be used either in menu mode or with command arguments.&lt;br /&gt;
&lt;br /&gt;
== Initial Features ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 1) Diagnostics - analyzes storage usage, seeks known problem areas of webOS devices.&lt;br /&gt;
 2) Scheduling - sets up Linux cron to allow scheduling apps or daily reboots.&lt;br /&gt;
 3) Performance - changing priority of key processes (more capabilities in future).&lt;br /&gt;
 4) mvapp - maintains relevant mvapp commands for recovery, continues support for linking email.&lt;br /&gt;
 5) optware - base optware setup (via webOS-internals boostrap)&lt;br /&gt;
 6) File Sharing - sets up samba filesharing, both in/outbound connections &lt;br /&gt;
 7) PreWare Install - easily install/update PreWare from a Terminal session.&lt;br /&gt;
 8) Dropbox sync - sync your webos device to Dropbox filesharing service &lt;br /&gt;
 9) Backup Media Drive over WiFi - scheduled automatic backups of media to a PC.&lt;br /&gt;
10) IOBox File Syncing - sync files to any PC or NAS device that supports cifs/samba.&lt;br /&gt;
 &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Many more things are planned like aiding the install/setup of webos-internals pages like emulators, vnc, dynamic dns, network tunables, etc.  If needed someday, a malware scanner also might be in xt's future.  Taking requests for features/functions that likely would not make it as a webOS app.  Am seeking other optware packages that could be useful under webOS - CUPS printing?&lt;br /&gt;
&lt;br /&gt;
While many experienced with Linux can setup these by reading the webos-internals pages, the target for xt is to set this stuff up for you in one shot and make it more accessible.&lt;br /&gt;
&lt;br /&gt;
== Initial Release ==&lt;br /&gt;
A development version is now available.  It will not be released on Homebrew installers for a while as this isn't intended for the masses yet.  For now xt is for power users who can manage lower level changes..  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Paste this in a Terminal session or in WebOS QI Linux Commandline...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
wget -qO- http://tinyurl.com/xt-setup | /bin/sh&lt;br /&gt;
&lt;br /&gt;
xt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Check for daily updates...&lt;br /&gt;
&lt;br /&gt;
xt upd&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Removing Xorg Tools ==&lt;br /&gt;
First remove any setup that xt creates from the respective xt menus, such as cron setup, samba services, optware, etc. unless you know how to remove those manually or want to keep any of these.&lt;br /&gt;
&lt;br /&gt;
For now xt itself needs to be removed manually from a Terminal session...&amp;lt;br&amp;gt;&lt;br /&gt;
rm /usr/local/bin/xt&amp;lt;br&amp;gt;&lt;br /&gt;
cd /media/internal&amp;lt;br&amp;gt;&lt;br /&gt;
rm -r xorgtools&lt;br /&gt;
&lt;br /&gt;
== Adding/Modifying Plugins ==&lt;br /&gt;
Scripters can add their own plugins to xorg tools menus or customize existing ones.  Scripters should not directly customize plugins that are included with xt as the plugins will be overwritten with the next update.  Best to copy the plugin and modify it.  Existing plugins can also be used as templates if you want to add your own plugin.  If you'd like to submit a plugin for distribution, PM 'xorg' on PreCentral.&lt;br /&gt;
&lt;br /&gt;
Example using Media backup plugin:&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Xorg Tools menus will automatically list all items that end in .mnu in the plugins folder.&lt;br /&gt;
&lt;br /&gt;
cd /media/internal/xorgtools/plugins&amp;lt;br&amp;gt;&lt;br /&gt;
ls&amp;lt;br&amp;gt;&lt;br /&gt;
bck         bck.mnu &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(copy the menu script)&amp;lt;br&amp;gt;&lt;br /&gt;
cp bck.mnu tst.mnu&amp;lt;br&amp;gt;&lt;br /&gt;
vi tst.mnu&amp;lt;br&amp;gt;&lt;br /&gt;
(edit the tag: line)&amp;lt;br&amp;gt;&lt;br /&gt;
tag:f1:f2:f3&amp;lt;br&amp;gt;&lt;br /&gt;
f1 - the title of the service that will appear in the plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
f2 - the three letter selection code that will appear in plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
f3 - the filename of menu script&amp;lt;br&amp;gt;&lt;br /&gt;
f4 - which menu to place in: basic, advanced, experimental&lt;br /&gt;
&lt;br /&gt;
cp -r bck tst&amp;lt;br&amp;gt;&lt;br /&gt;
cd tst&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Edit these scripts as you'd like, they can be named anything.  Edit tst.mnu above to launch each script per the menu selection items.&lt;br /&gt;
&lt;br /&gt;
== Support/Discussion ==&lt;br /&gt;
See the [http://forums.precentral.net/webos-internals/226574-xorg-tools-power-tools-power-users.html PreCentral Thread] for support, questions and discussion.&lt;br /&gt;
&lt;br /&gt;
== License ==&lt;br /&gt;
Xorg Tools follows the [http://www.webos-internals.org/wiki/MIT_Open_Source_License_-_webOS-Patches webos-internals MIT license model].  &lt;br /&gt;
&lt;br /&gt;
Developers are encouraged to use xt code or concepts in other projects, per the terms of the license.  If a function of xt is eventually better maintained in another project, the xt feature will likely be redirected to that project and in some cases adopted back into xt.&lt;br /&gt;
&lt;br /&gt;
== Guides ==&lt;br /&gt;
&lt;br /&gt;
This section points to additional guides to further configure any optware or other tools that is an xt function.&lt;br /&gt;
&lt;br /&gt;
Feel free to add other guides, such as connection to Windows and Mac.&lt;br /&gt;
&lt;br /&gt;
'''Media Backup over WiFi'''&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.webos-internals.org/wiki/Backup_Media_Drive_over_WiFi Setup Instructions]&lt;br /&gt;
&lt;br /&gt;
'''Dropbox Syncing'''&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.webos-internals.org/wiki/Dropbox_Syncing Setup Instructions]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Filesharing''':&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.webos-internals.org/wiki/Samba_Access Samba Setup] - from webos-internals&amp;lt;br&amp;gt;&lt;br /&gt;
[http://us3.samba.org/samba Official Samba Site] - use for more detailed setup&amp;lt;br&amp;gt;&lt;br /&gt;
[http://forums.precentral.net/showthread.php?p=2173985 Windows Mounting] - how to setup a share mountpoint with Windows&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Scheduling'''&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.webos-internals.org/wiki/Crond Initial Cron Setup] - from webos-internals&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.pantz.org/software/cron/croninfo.html Cron Guide] - a guide with more details&lt;/div&gt;</summary>
		<author><name>Xorg</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Backup_Media_Drive_over_WiFi&amp;diff=9199</id>
		<title>Backup Media Drive over WiFi</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Backup_Media_Drive_over_WiFi&amp;diff=9199"/>
		<updated>2010-02-26T21:46:23Z</updated>

		<summary type="html">&lt;p&gt;Xorg: /* Alternate Methods/Other Platforms */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
This tool creates scheduled backups of /media/internal (usb media drive) to a Windows computer over WiFi.  It could also work with NAS drive/Linux/Mac that are setup for cifs/samba access.&lt;br /&gt;
&lt;br /&gt;
As with all webos-internals solutions, this function comes with no warranty.&lt;br /&gt;
&lt;br /&gt;
== How this method works ==&lt;br /&gt;
This uses [http://www.webos-internals.org/wiki/Xorg_Tools_-_Power_Tools_for_Power_Users Xorg Tools] to setup the configuration.&lt;br /&gt;
&lt;br /&gt;
It uses existing webOS cifs filesharing and rsync functions to perform the backup.&lt;br /&gt;
&lt;br /&gt;
In a nutshell, it mounts a Windows fileshare onto webOS device and uses rsync to sync.  Cron scheduling is used to automatically run at specified times.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
You need the following tools/knowledge to use this service...&lt;br /&gt;
&lt;br /&gt;
- A Windows PC (or other cifs/samba server) with at least 7GB storage available&amp;lt;br&amp;gt;&lt;br /&gt;
- Terminal access to phone, Terminal app in Preware, or webOS Quick Install&amp;lt;br&amp;gt;&lt;br /&gt;
- Need to know the local IP address of the backup PC&amp;lt;br&amp;gt;&lt;br /&gt;
- Helps to know how to setup Windows print/filesharing&amp;lt;br&amp;gt;&lt;br /&gt;
-- though the xt wizard walks you through setup&lt;br /&gt;
&lt;br /&gt;
== How to install ==&lt;br /&gt;
&lt;br /&gt;
'''Install Xorg Tools'''&lt;br /&gt;
&lt;br /&gt;
Paste this in a terminal session or use webOS Quick Install Linux Command line...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /tmp &amp;amp;&amp;amp; wget -qO- http://dl.dropbox.com/u/3812896/xt.setup | /bin/sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Terminal app (available on Preare) or in a Terminal session...&lt;br /&gt;
&lt;br /&gt;
- Run 'xt' from linux&lt;br /&gt;
&lt;br /&gt;
xt&lt;br /&gt;
&lt;br /&gt;
Find the IP address of the backup computer before continuing.  If you don't know how to find the local IP address on your computer, this is not for you.  Use the local IP address, not the WAN address.  Best to start with local segment and then once working, tinker with router port forwarding to maybe use over EVDO and external WiFi.&lt;br /&gt;
&lt;br /&gt;
'''Initial Setup'''&lt;br /&gt;
&lt;br /&gt;
- adv) advanced menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bis) backup initial setup&lt;br /&gt;
&lt;br /&gt;
Follow all instructions very carefully. Re-run bis if you need to change anything.&lt;br /&gt;
&lt;br /&gt;
After setup, run a manual sync.&lt;br /&gt;
&lt;br /&gt;
'''Manual Sync'''&lt;br /&gt;
&lt;br /&gt;
- adv) advanced menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- pbn) perform backup sync now&lt;br /&gt;
&lt;br /&gt;
The first backup may take hours.  I was getting 2GB/hour, though it varies, so plan first run accordingly.  You should run the first full backup while charging the phone. If this is successful, setup scheduling.   If not successful, check Troubleshooting section below.&lt;br /&gt;
&lt;br /&gt;
'''Scheduling'''&lt;br /&gt;
&lt;br /&gt;
- adv) advanced menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- sbk) schedule backup&lt;br /&gt;
&lt;br /&gt;
There is an issue with cron that it doesn't run some jobs when phone is asleep.  It will consistently sync when you use your phone or if charging.  Am working on it.  If running nightly backups, may need to have your phone charging to run, which is likely for most.  You can confirm by checking the backup log in the morning.&lt;br /&gt;
&lt;br /&gt;
For now the scheduler only allows to pick one backup hour of the day.  After midnight is recommended as you're likely home and in local WiFi segment.  Be careful not to schedule near time of a scheduled reboot, if that is scheduled.  You can manually edit the cron table to meet your needs.  See details at end of page.&lt;br /&gt;
&lt;br /&gt;
== Usage Info ==&lt;br /&gt;
&lt;br /&gt;
- The first run may take hours depending on amount of data.  Best to charge phone while doing the first full backup.  I was getting about 2GB/hour.&lt;br /&gt;
&lt;br /&gt;
- Future backup runs with few changes may only take about 2-5 minutes to run, depending on total number of files and size of changed/new files.&lt;br /&gt;
&lt;br /&gt;
- If you delete a file on media drive, it will NOT delete on the Windows backup folder.  Future versions may allow you to control this.&lt;br /&gt;
&lt;br /&gt;
- If you quit a backup or if disrupted in the middle, no problem.  Just run again and it will pickup where it left off.&lt;br /&gt;
&lt;br /&gt;
- If a backup is running on local WiFi at home and you leave with phone in pocket and it switches to EVDO, no problem.  The backup will timeout (2 minutes) and cleanly exit.  It will pickup where it left off on the next scheduled (or manual) run.&lt;br /&gt;
&lt;br /&gt;
- Backup skips encrypted .palm directory, so does not backup the applications. It's not likely a restore would work, so not going there.&lt;br /&gt;
&lt;br /&gt;
- A backup runs at lowest priority so doesn't impact performance of other apps.  Was running Need For Speed during full backup and not one skip in NFS, very smooth.  Assassins Creed ran great.  Backups may impact load times however since it impacts IO more than CPU, but even load times were acceptable.  There doesn't appear to be any noticeable performance impact to other webOS usage due to this.  Even cron runs at a lower priority. &lt;br /&gt;
&lt;br /&gt;
- Cool use.  Take a picture, run a backup and it shows up on your Windows PC.  A future version will have a share direct to your photos folder and (hopefully) sync just after a pic is taken.&lt;br /&gt;
&lt;br /&gt;
- For now, backup scheduling only sets up to run once a day.  You can manually change the cron entry to meet your needs.&lt;br /&gt;
&lt;br /&gt;
- This will also work with NAS drives that support cifs, as well as Linux/Mac/Unix setup as a cifs/samba server.  Just create a backup folder with sharename 'mediabackup' with full read/write permissions.&lt;br /&gt;
&lt;br /&gt;
- Scripters can easily customize the Media Backup plugin.  See [http://www.webos-internals.org/wiki/Xorg_Tools_-_Power_Tools_for_Power_Users Xorg Tools] page on how to customize plugins.&lt;br /&gt;
&lt;br /&gt;
== Excluding Files from Backup ==&lt;br /&gt;
&lt;br /&gt;
Edit this file to add any file/dir patterns you don't want to backup, such as music.  It can also be edited from mounted USB drive using a text editor.&lt;br /&gt;
&lt;br /&gt;
/media/internal/xorgtools/etc/backup-exclude.cfg&lt;br /&gt;
&lt;br /&gt;
Use one line for each entry.  More info here....&lt;br /&gt;
&lt;br /&gt;
[http://articles.slicehost.com/2007/10/10/rsync-exclude-files-and-folders Sample Excludes]&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
'''Permission Errors'''&lt;br /&gt;
&lt;br /&gt;
If you get permission errors when doing a manual sync, check the following...&lt;br /&gt;
&lt;br /&gt;
- Make sure the Windows backup folder share has 'full control'.  On XP, it might say 'allow user to have full access', that must be checked.  Must have read/write access to the share.&amp;lt;br&amp;gt;&lt;br /&gt;
- Ensure the Windows backup folder sharename is 'mediabackup'.  It must be named this.&amp;lt;br&amp;gt;&lt;br /&gt;
- In Vista/Win7, go to Advance Settings in Share tab to create a new sharename.&amp;lt;br&amp;gt;&lt;br /&gt;
- The Windows user account cannot have a space in the name or password.  If so, create a new Windows user/password with no spaces and re-run &amp;quot;backup initial setup&amp;quot;.  &amp;lt;br&amp;gt;&lt;br /&gt;
- If you have firewall software, you may need to open ports: 137-139, 445&lt;br /&gt;
&lt;br /&gt;
== Caveats ==&lt;br /&gt;
&lt;br /&gt;
- There is an issue with cron that it doesn't run some jobs when phone is asleep.  It will consistently sync when you use your phone or if charging.  Am working on it.  Check the backup log.  If it didn't sync as expected, run a manual sync. &lt;br /&gt;
&lt;br /&gt;
- The username and password on the Windows PC cannot have any spaces.  You'll need to use or create an account on Windows that has no spaces for the user id and password.&lt;br /&gt;
&lt;br /&gt;
- The backup maintains timestamps.  It will have permission errors on changing times on some '.' directories.  Those are harmless errors.  Ignore them.&lt;br /&gt;
&lt;br /&gt;
- There's a known issue with backing up non-english unicode filenames (thanks Kyusaku).  The rsync in webos doesn't appear to support --conv to do the conversion.  The file backs up OK but with garbled filename, which would need to be renamed.  The optware version of rsync has the --conv flag if you want to install/use that version.&lt;br /&gt;
&lt;br /&gt;
- It turns out that the webOS kernel has built in cifs support and samba is not needed.  If you were an early tester and installed samba (on or before Jan 31), you can remove unless you're using for other reasons.&lt;br /&gt;
&lt;br /&gt;
ipkg-opt remove samba2&lt;br /&gt;
&lt;br /&gt;
== Layout Details ==&lt;br /&gt;
These are the configuration/script files involved if you want to make manual changes.&lt;br /&gt;
&lt;br /&gt;
/media/internal/xorgtools/etc/mediabackup.cfg (stores ip, username, passwd, etc)&amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/xorgtools/etc/backup-exclude.cfg  (files/dirs to exclude in backup)&amp;lt;br&amp;gt;&lt;br /&gt;
/var/spool/cron/crontabs/root  (cron schedling)&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
/media/internal/xorgtools/bck.mnu (the backup menu)&amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/xorgtools/bck (directory of backup scripts)&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How to Remove ==&lt;br /&gt;
&lt;br /&gt;
Remove the backup setup...&amp;lt;br&amp;gt;&lt;br /&gt;
- adv) advanced menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- rbk) remove all backup setup &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This removes the backup related entries...&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
/media/internal/xorgtools/etc/mediabackup.cfg&amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/xorgtools/etc/backup-exclude.cfg&amp;lt;br&amp;gt;&lt;br /&gt;
/var/spool/cron/crontabs/root&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
/etc/fstab  (for older versions of xt)&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/hosts  (for older versions of xt)&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can re-install with 'backup initial setup' menu item.&lt;br /&gt;
&lt;br /&gt;
See [http://www.webos-internals.org/wiki/Xorg_Tools_-_Power_Tools_for_Power_Users Xorg Tools] page on how to remove xt.&lt;br /&gt;
&lt;br /&gt;
== ToDos/Requests/Updates ==&lt;br /&gt;
&lt;br /&gt;
Please post other ideas and feature requests here.&lt;br /&gt;
&lt;br /&gt;
Here is the [http://forums.precentral.net/webos-internals/226574-xorg-tools-power-tools-power-users.html PreCentral thread], which also has release notes on new versions.&lt;br /&gt;
&lt;br /&gt;
== Alternate Methods/Other Platforms ==&lt;br /&gt;
&lt;br /&gt;
I chose to do Windows/cifs because that is what most have available and most systems can be configured to use it.  This could be easily modified to use Mac/Linux rysnc by just using rsync daemon (cifs not necessary).  The sync scripts in /media/internal/xorgtools/plugins can be altered by likely just stripping out the cifs mounting and change the rsync command to talk to rsyncd on backup computer.  See [http://www.webos-internals.org/wiki/Xorg_Tools_-_Power_Tools_for_Power_Users Xorg Tools] page on how to modify plugins.&lt;br /&gt;
&lt;br /&gt;
Mac filesharing setup can be found [http://www.webos-internals.org/wiki/Talk:Backup_Media_Drive_over_WiFi here].&lt;br /&gt;
&lt;br /&gt;
== Credits ==&lt;br /&gt;
&lt;br /&gt;
Thanks much to testers... Vincent Law, navinaq, Kyusaku, rlanza1054&lt;/div&gt;</summary>
		<author><name>Xorg</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Backup_Media_Drive_over_WiFi&amp;diff=9198</id>
		<title>Backup Media Drive over WiFi</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Backup_Media_Drive_over_WiFi&amp;diff=9198"/>
		<updated>2010-02-26T21:37:34Z</updated>

		<summary type="html">&lt;p&gt;Xorg: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
This tool creates scheduled backups of /media/internal (usb media drive) to a Windows computer over WiFi.  It could also work with NAS drive/Linux/Mac that are setup for cifs/samba access.&lt;br /&gt;
&lt;br /&gt;
As with all webos-internals solutions, this function comes with no warranty.&lt;br /&gt;
&lt;br /&gt;
== How this method works ==&lt;br /&gt;
This uses [http://www.webos-internals.org/wiki/Xorg_Tools_-_Power_Tools_for_Power_Users Xorg Tools] to setup the configuration.&lt;br /&gt;
&lt;br /&gt;
It uses existing webOS cifs filesharing and rsync functions to perform the backup.&lt;br /&gt;
&lt;br /&gt;
In a nutshell, it mounts a Windows fileshare onto webOS device and uses rsync to sync.  Cron scheduling is used to automatically run at specified times.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
You need the following tools/knowledge to use this service...&lt;br /&gt;
&lt;br /&gt;
- A Windows PC (or other cifs/samba server) with at least 7GB storage available&amp;lt;br&amp;gt;&lt;br /&gt;
- Terminal access to phone, Terminal app in Preware, or webOS Quick Install&amp;lt;br&amp;gt;&lt;br /&gt;
- Need to know the local IP address of the backup PC&amp;lt;br&amp;gt;&lt;br /&gt;
- Helps to know how to setup Windows print/filesharing&amp;lt;br&amp;gt;&lt;br /&gt;
-- though the xt wizard walks you through setup&lt;br /&gt;
&lt;br /&gt;
== How to install ==&lt;br /&gt;
&lt;br /&gt;
'''Install Xorg Tools'''&lt;br /&gt;
&lt;br /&gt;
Paste this in a terminal session or use webOS Quick Install Linux Command line...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /tmp &amp;amp;&amp;amp; wget -qO- http://dl.dropbox.com/u/3812896/xt.setup | /bin/sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Terminal app (available on Preare) or in a Terminal session...&lt;br /&gt;
&lt;br /&gt;
- Run 'xt' from linux&lt;br /&gt;
&lt;br /&gt;
xt&lt;br /&gt;
&lt;br /&gt;
Find the IP address of the backup computer before continuing.  If you don't know how to find the local IP address on your computer, this is not for you.  Use the local IP address, not the WAN address.  Best to start with local segment and then once working, tinker with router port forwarding to maybe use over EVDO and external WiFi.&lt;br /&gt;
&lt;br /&gt;
'''Initial Setup'''&lt;br /&gt;
&lt;br /&gt;
- adv) advanced menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bis) backup initial setup&lt;br /&gt;
&lt;br /&gt;
Follow all instructions very carefully. Re-run bis if you need to change anything.&lt;br /&gt;
&lt;br /&gt;
After setup, run a manual sync.&lt;br /&gt;
&lt;br /&gt;
'''Manual Sync'''&lt;br /&gt;
&lt;br /&gt;
- adv) advanced menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- pbn) perform backup sync now&lt;br /&gt;
&lt;br /&gt;
The first backup may take hours.  I was getting 2GB/hour, though it varies, so plan first run accordingly.  You should run the first full backup while charging the phone. If this is successful, setup scheduling.   If not successful, check Troubleshooting section below.&lt;br /&gt;
&lt;br /&gt;
'''Scheduling'''&lt;br /&gt;
&lt;br /&gt;
- adv) advanced menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- sbk) schedule backup&lt;br /&gt;
&lt;br /&gt;
There is an issue with cron that it doesn't run some jobs when phone is asleep.  It will consistently sync when you use your phone or if charging.  Am working on it.  If running nightly backups, may need to have your phone charging to run, which is likely for most.  You can confirm by checking the backup log in the morning.&lt;br /&gt;
&lt;br /&gt;
For now the scheduler only allows to pick one backup hour of the day.  After midnight is recommended as you're likely home and in local WiFi segment.  Be careful not to schedule near time of a scheduled reboot, if that is scheduled.  You can manually edit the cron table to meet your needs.  See details at end of page.&lt;br /&gt;
&lt;br /&gt;
== Usage Info ==&lt;br /&gt;
&lt;br /&gt;
- The first run may take hours depending on amount of data.  Best to charge phone while doing the first full backup.  I was getting about 2GB/hour.&lt;br /&gt;
&lt;br /&gt;
- Future backup runs with few changes may only take about 2-5 minutes to run, depending on total number of files and size of changed/new files.&lt;br /&gt;
&lt;br /&gt;
- If you delete a file on media drive, it will NOT delete on the Windows backup folder.  Future versions may allow you to control this.&lt;br /&gt;
&lt;br /&gt;
- If you quit a backup or if disrupted in the middle, no problem.  Just run again and it will pickup where it left off.&lt;br /&gt;
&lt;br /&gt;
- If a backup is running on local WiFi at home and you leave with phone in pocket and it switches to EVDO, no problem.  The backup will timeout (2 minutes) and cleanly exit.  It will pickup where it left off on the next scheduled (or manual) run.&lt;br /&gt;
&lt;br /&gt;
- Backup skips encrypted .palm directory, so does not backup the applications. It's not likely a restore would work, so not going there.&lt;br /&gt;
&lt;br /&gt;
- A backup runs at lowest priority so doesn't impact performance of other apps.  Was running Need For Speed during full backup and not one skip in NFS, very smooth.  Assassins Creed ran great.  Backups may impact load times however since it impacts IO more than CPU, but even load times were acceptable.  There doesn't appear to be any noticeable performance impact to other webOS usage due to this.  Even cron runs at a lower priority. &lt;br /&gt;
&lt;br /&gt;
- Cool use.  Take a picture, run a backup and it shows up on your Windows PC.  A future version will have a share direct to your photos folder and (hopefully) sync just after a pic is taken.&lt;br /&gt;
&lt;br /&gt;
- For now, backup scheduling only sets up to run once a day.  You can manually change the cron entry to meet your needs.&lt;br /&gt;
&lt;br /&gt;
- This will also work with NAS drives that support cifs, as well as Linux/Mac/Unix setup as a cifs/samba server.  Just create a backup folder with sharename 'mediabackup' with full read/write permissions.&lt;br /&gt;
&lt;br /&gt;
- Scripters can easily customize the Media Backup plugin.  See [http://www.webos-internals.org/wiki/Xorg_Tools_-_Power_Tools_for_Power_Users Xorg Tools] page on how to customize plugins.&lt;br /&gt;
&lt;br /&gt;
== Excluding Files from Backup ==&lt;br /&gt;
&lt;br /&gt;
Edit this file to add any file/dir patterns you don't want to backup, such as music.  It can also be edited from mounted USB drive using a text editor.&lt;br /&gt;
&lt;br /&gt;
/media/internal/xorgtools/etc/backup-exclude.cfg&lt;br /&gt;
&lt;br /&gt;
Use one line for each entry.  More info here....&lt;br /&gt;
&lt;br /&gt;
[http://articles.slicehost.com/2007/10/10/rsync-exclude-files-and-folders Sample Excludes]&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
'''Permission Errors'''&lt;br /&gt;
&lt;br /&gt;
If you get permission errors when doing a manual sync, check the following...&lt;br /&gt;
&lt;br /&gt;
- Make sure the Windows backup folder share has 'full control'.  On XP, it might say 'allow user to have full access', that must be checked.  Must have read/write access to the share.&amp;lt;br&amp;gt;&lt;br /&gt;
- Ensure the Windows backup folder sharename is 'mediabackup'.  It must be named this.&amp;lt;br&amp;gt;&lt;br /&gt;
- In Vista/Win7, go to Advance Settings in Share tab to create a new sharename.&amp;lt;br&amp;gt;&lt;br /&gt;
- The Windows user account cannot have a space in the name or password.  If so, create a new Windows user/password with no spaces and re-run &amp;quot;backup initial setup&amp;quot;.  &amp;lt;br&amp;gt;&lt;br /&gt;
- If you have firewall software, you may need to open ports: 137-139, 445&lt;br /&gt;
&lt;br /&gt;
== Caveats ==&lt;br /&gt;
&lt;br /&gt;
- There is an issue with cron that it doesn't run some jobs when phone is asleep.  It will consistently sync when you use your phone or if charging.  Am working on it.  Check the backup log.  If it didn't sync as expected, run a manual sync. &lt;br /&gt;
&lt;br /&gt;
- The username and password on the Windows PC cannot have any spaces.  You'll need to use or create an account on Windows that has no spaces for the user id and password.&lt;br /&gt;
&lt;br /&gt;
- The backup maintains timestamps.  It will have permission errors on changing times on some '.' directories.  Those are harmless errors.  Ignore them.&lt;br /&gt;
&lt;br /&gt;
- There's a known issue with backing up non-english unicode filenames (thanks Kyusaku).  The rsync in webos doesn't appear to support --conv to do the conversion.  The file backs up OK but with garbled filename, which would need to be renamed.  The optware version of rsync has the --conv flag if you want to install/use that version.&lt;br /&gt;
&lt;br /&gt;
- It turns out that the webOS kernel has built in cifs support and samba is not needed.  If you were an early tester and installed samba (on or before Jan 31), you can remove unless you're using for other reasons.&lt;br /&gt;
&lt;br /&gt;
ipkg-opt remove samba2&lt;br /&gt;
&lt;br /&gt;
== Layout Details ==&lt;br /&gt;
These are the configuration/script files involved if you want to make manual changes.&lt;br /&gt;
&lt;br /&gt;
/media/internal/xorgtools/etc/mediabackup.cfg (stores ip, username, passwd, etc)&amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/xorgtools/etc/backup-exclude.cfg  (files/dirs to exclude in backup)&amp;lt;br&amp;gt;&lt;br /&gt;
/var/spool/cron/crontabs/root  (cron schedling)&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
/media/internal/xorgtools/bck.mnu (the backup menu)&amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/xorgtools/bck (directory of backup scripts)&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How to Remove ==&lt;br /&gt;
&lt;br /&gt;
Remove the backup setup...&amp;lt;br&amp;gt;&lt;br /&gt;
- adv) advanced menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- rbk) remove all backup setup &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This removes the backup related entries...&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
/media/internal/xorgtools/etc/mediabackup.cfg&amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/xorgtools/etc/backup-exclude.cfg&amp;lt;br&amp;gt;&lt;br /&gt;
/var/spool/cron/crontabs/root&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
/etc/fstab  (for older versions of xt)&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/hosts  (for older versions of xt)&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can re-install with 'backup initial setup' menu item.&lt;br /&gt;
&lt;br /&gt;
See [http://www.webos-internals.org/wiki/Xorg_Tools_-_Power_Tools_for_Power_Users Xorg Tools] page on how to remove xt.&lt;br /&gt;
&lt;br /&gt;
== ToDos/Requests/Updates ==&lt;br /&gt;
&lt;br /&gt;
Please post other ideas and feature requests here.&lt;br /&gt;
&lt;br /&gt;
Here is the [http://forums.precentral.net/webos-internals/226574-xorg-tools-power-tools-power-users.html PreCentral thread], which also has release notes on new versions.&lt;br /&gt;
&lt;br /&gt;
== Alternate Methods/Other Platforms ==&lt;br /&gt;
&lt;br /&gt;
I chose to do Windows/cifs because that is what most have available and most systems can be configured to use it.  This could be easily modified to use Mac/Linux rysnc by just using rsync daemon (cifs not necessary).  The sync scripts in /media/internal/xorgtools/plugins can be altered by likely just stripping out the cifs mounting and change the rsync command to talk to rsyncd on backup computer.  See [http://www.webos-internals.org/wiki/Xorg_Tools_-_Power_Tools_for_Power_Users Xorg Tools] page on how to modify plugins.&lt;br /&gt;
&lt;br /&gt;
== Credits ==&lt;br /&gt;
&lt;br /&gt;
Thanks much to testers... Vincent Law, navinaq, Kyusaku, rlanza1054&lt;/div&gt;</summary>
		<author><name>Xorg</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Backup_Media_Drive_over_WiFi&amp;diff=9162</id>
		<title>Backup Media Drive over WiFi</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Backup_Media_Drive_over_WiFi&amp;diff=9162"/>
		<updated>2010-02-22T15:59:03Z</updated>

		<summary type="html">&lt;p&gt;Xorg: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
This tool creates scheduled backups of /media/internal (usb media drive) to a Windows computer over WiFi.  It could also work with NAS drive/Linux/Mac that are setup for cifs/samba access.&lt;br /&gt;
&lt;br /&gt;
As with all webos-internals solutions, this function comes with no warranty.&lt;br /&gt;
&lt;br /&gt;
== How this method works ==&lt;br /&gt;
This uses Xorg Tools to setup the configuration.&lt;br /&gt;
&lt;br /&gt;
It uses webOS existing cifs filesharing and rsync to perform the backup.&lt;br /&gt;
&lt;br /&gt;
In a nutshell, it mounts a Windows fileshare onto webOS device and uses rsync to sync.  Cron scheduling is used to automatically run at specified times.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
You need the following tools/knowledge to use this service...&lt;br /&gt;
&lt;br /&gt;
- A Windows PC (or other cifs/samba server) with at least 7GB storage available&amp;lt;br&amp;gt;&lt;br /&gt;
- Terminal access to phone, or webOS Quick Install&amp;lt;br&amp;gt;&lt;br /&gt;
- Need to know the local IP address of the backup PC&amp;lt;br&amp;gt;&lt;br /&gt;
- Helps to know how to setup Windows print/filesharing&amp;lt;br&amp;gt;&lt;br /&gt;
-- though the xt wizard walks you through setup&lt;br /&gt;
&lt;br /&gt;
== How to install ==&lt;br /&gt;
&lt;br /&gt;
'''Install Xorg Tools'''&lt;br /&gt;
&lt;br /&gt;
Paste this in a terminal session or use webOS Quick Install Linux Command line...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /tmp &amp;amp;&amp;amp; wget -qO- http://dl.dropbox.com/u/3812896/xt.setup | /bin/sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Terminal app or in a Terminal session...&lt;br /&gt;
&lt;br /&gt;
- Run 'xt' from linux&lt;br /&gt;
&lt;br /&gt;
Find the IP address of the backup computer before continuing.  If you don't know how to find the local IP address on your computer, this is not for you.  Use the local IP address, not the WAN address.  Best to start with local segment and then once working, tinker with router port forwarding to maybe use over EVDO and external WiFi.&lt;br /&gt;
&lt;br /&gt;
'''Initial Setup'''&lt;br /&gt;
&lt;br /&gt;
- adv) advanced menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bis) backup initial setup&lt;br /&gt;
&lt;br /&gt;
Follow all instructions very carefully. Re-run bis if you need to change anything.&lt;br /&gt;
&lt;br /&gt;
Once installed, run a manual sync.&lt;br /&gt;
&lt;br /&gt;
'''Manual Sync'''&lt;br /&gt;
&lt;br /&gt;
- adv) advancedmenu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- pbn) perform backup sync now&lt;br /&gt;
&lt;br /&gt;
The first backup may take hours.  I was getting 2GB/hour, though it varies, so plan first run accordingly.  You should run the first full backup while charging the phone. If this is successful, setup scheduling.   If not successful, check Troubleshooting section below.&lt;br /&gt;
&lt;br /&gt;
'''Scheduling'''&lt;br /&gt;
&lt;br /&gt;
- adv) advanced menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- sbk) schedule backup&lt;br /&gt;
&lt;br /&gt;
There is an issue with cron that it doesn't run some jobs when phone is asleep.  It will consistently sync when you use your phone or if charging.  Am working on it.  If running nightly backups, may need to have your phone charging to run, which is likely for most.  You can confirm by checking the backup log in the morning.&lt;br /&gt;
&lt;br /&gt;
For now the scheduler only allows to pick one backup hour of the day.  Late night after midnight is recommended as you're likely home and in local WiFi segment.  Be careful not to schedule near time of a scheduled reboot, if that is scheduled.  You can manually edit the cron table to meet your needs.  See details at end of page.&lt;br /&gt;
&lt;br /&gt;
== Usage Info ==&lt;br /&gt;
&lt;br /&gt;
- The first run may take hours depending on amount of data.  Best to charge phone while doing the first full backup.  I was getting about 2GB/hour.&lt;br /&gt;
&lt;br /&gt;
- Future backup runs with few changes only take about 2-5 minutes to run, depending on total number of files and size of changed/new files.&lt;br /&gt;
&lt;br /&gt;
- If you delete a file on media drive, it will NOT delete on the Windows backup folder.  Future versions will allow you to control this.&lt;br /&gt;
&lt;br /&gt;
- If you quit a backup or if disrupted in the middle, no problem.  Just run again and it will pickup where it left off.&lt;br /&gt;
&lt;br /&gt;
- If a backup is running on local WiFi at home and you leave with phone in pocket and it switches to EVDO, no problem.  The backup will timeout (2 minutes) and cleanly exit.  It will pickup where it left off on the next scheduled (or manual) run.&lt;br /&gt;
&lt;br /&gt;
- Backup skips encrypted .palm directory, so does not backup the applications. It's not likely a restore would work, so not going there.&lt;br /&gt;
&lt;br /&gt;
- A backup runs at lowest priority so doesn't impact performance of other apps.  Was running Need For Speed during full backup and not one skip in NFS, very smooth.  Assassins Creed ran great.  Backups may impact load times however since it impacts IO more than CPU, but even load times were acceptable.  There doesn't appear to be any noticeable performance impact to other webOS usage due to this.  Even cron runs at a lower priority. &lt;br /&gt;
&lt;br /&gt;
- Cool use.  Take a picture, run a backup and it shows up on your Windows PC.  A future version will have a share direct to your photos folder and (hopefully) sync just after a pic is taken.&lt;br /&gt;
&lt;br /&gt;
- For now, backup scheduling only sets up to run once a day.  You can manually change the cron entry to meet your needs.&lt;br /&gt;
&lt;br /&gt;
- This will also work with NAS drives that support cifs, as well as Linux/Mac/Unix setup as a cifs/samba server.  Just create a backup folder with sharename 'mediabackup' with full read/write permissions.&lt;br /&gt;
&lt;br /&gt;
== Excluding Files from Backup ==&lt;br /&gt;
&lt;br /&gt;
Edit this file to add any file/dir patterns you don't want to backup, such as music.  It can also be edited from mounted USB drive using a text editor.&lt;br /&gt;
&lt;br /&gt;
/media/internal/xorgtools/etc/backup-exclude.cfg&lt;br /&gt;
&lt;br /&gt;
Use one line for each entry.  More info here....&lt;br /&gt;
&lt;br /&gt;
[http://articles.slicehost.com/2007/10/10/rsync-exclude-files-and-folders Sample Excludes]&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
'''Permission Errors'''&lt;br /&gt;
&lt;br /&gt;
If you get permission errors when doing a manual sync, check the following...&lt;br /&gt;
&lt;br /&gt;
- Make sure the Windows backup folder share has 'full control'.  On XP, it might say 'allow user to have full access', that must be checked.  Must have read/write access to the share.&amp;lt;br&amp;gt;&lt;br /&gt;
- Ensure the Windows backup folder sharename is 'mediabackup'.  It must be named this.&amp;lt;br&amp;gt;&lt;br /&gt;
- In Vista/Win7, go to Advance Settings in Share tab to create a new sharename.&amp;lt;br&amp;gt;&lt;br /&gt;
- The Windows user account cannot have a space in the name or password.  If so, create a new Windows user/password with no spaces and re-run &amp;quot;backup initial setup&amp;quot;.  &amp;lt;br&amp;gt;&lt;br /&gt;
- If you have firewall software, you may need to open ports: 137-139, 445&lt;br /&gt;
&lt;br /&gt;
== Caveats ==&lt;br /&gt;
&lt;br /&gt;
- There is an issue with cron that it doesn't run some jobs when phone is asleep.  It will consistently sync when you use your phone or if charging.  Am working on it.  Check the backup log.  If it didn't sync as expected, run a manual sync. &lt;br /&gt;
&lt;br /&gt;
- The username and password on the Windows PC cannot have any spaces.  You'll need to use or create an account on Windows that has no spaces for the user id and password.&lt;br /&gt;
&lt;br /&gt;
- The backup maintains timestamps.  It will have permission errors on changing times on some '.' directories.  Those are harmless errors.  Ignore them.&lt;br /&gt;
&lt;br /&gt;
- There's a known issue with backing up non-english unicode filenames (thanks Kyusaku).  The rsync in webos doesn't appear to support --conv to do the conversion.  The file backs up OK but with garbled filename, which would need to be renamed.  The optware version of rsync has the --conv flag if you want to install/use that version.&lt;br /&gt;
&lt;br /&gt;
- It turns out that the webOS kernel has built in cifs support and samba is not needed.  If you were an early tester and installed samba (on or before Jan 31), you can remove unless you're using for other reasons.&lt;br /&gt;
&lt;br /&gt;
ipkg-opt remove samba2&lt;br /&gt;
&lt;br /&gt;
== Layout Details ==&lt;br /&gt;
These are the configuration/script files involved if you want to make manual changes.&lt;br /&gt;
&lt;br /&gt;
/media/internal/xorgtools/etc/mediabackup.cfg (stores ip, username, passwd, etc)&amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/xorgtools/etc/backup-exclude.cfg  (files/dirs to exclude in backup)&amp;lt;br&amp;gt;&lt;br /&gt;
/var/spool/cron/crontabs/root  (cron schedling)&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
/media/internal/xorgtools/bck.mnu (the backup menu)&amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/xorgtools/bck (directory of backup scripts)&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How to Remove ==&lt;br /&gt;
&lt;br /&gt;
Remove the backup setup...&amp;lt;br&amp;gt;&lt;br /&gt;
- adv) advanced menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- rbk) remove all backup setup &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This removes the backup related entries...&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
/media/internal/xorgtools/etc/mediabackup.cfg&amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/xorgtools/etc/backup-exclude.cfg&amp;lt;br&amp;gt;&lt;br /&gt;
/var/spool/cron/crontabs/root&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
/etc/fstab  (for older versions of xt)&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/hosts  (for older versions of xt)&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can re-install with 'backup initial setup' menu item.&lt;br /&gt;
&lt;br /&gt;
== ToDos/Requests/Updates ==&lt;br /&gt;
&lt;br /&gt;
Please post other ideas and feature requests here.&lt;br /&gt;
&lt;br /&gt;
Here is the [http://forums.precentral.net/webos-internals/226574-xorg-tools-power-tools-power-users.html PreCentral thread], which also has release notes on new versions.&lt;br /&gt;
&lt;br /&gt;
== Alternate Methods/Other Platforms ==&lt;br /&gt;
&lt;br /&gt;
I chose to do Windows/cifs because that is what most people have available.  This could be easily ported to Mac/Linux by just using rsync daemon (cifs not necessary).  The sync scripts in /media/internal/xorgtools/plugins can be altered by likely just stripping out the cifs mounting and change the rsync command to talk to rsyncd on backup computer.&lt;br /&gt;
&lt;br /&gt;
== Credits ==&lt;br /&gt;
&lt;br /&gt;
Thanks much to testers... Vincent Law, navinaq, Kyusaku, rlanza1054&lt;/div&gt;</summary>
		<author><name>Xorg</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Dropbox_Syncing&amp;diff=9157</id>
		<title>Dropbox Syncing</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Dropbox_Syncing&amp;diff=9157"/>
		<updated>2010-02-22T01:38:59Z</updated>

		<summary type="html">&lt;p&gt;Xorg: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
Dropbox is a service that allows syncing files/folders across many computers.  Now there is a way to sync a webOS device to Dropbox.  This is not a native dropbox client.  It connects to a Windows PC that has a Dropbox client installed and syncs the files to that PC's dropbox folder.  It syncs to inbox/outbox folders in each direction.  The current version is not yet able to sync bidirectionally to the same folder, so inbox/outbox folders are used within a defined dropbox folder.&lt;br /&gt;
&lt;br /&gt;
[https://www.dropbox.com/referrals/NTM4MTI4OTY5 Signup free or see for more info on Dropbox.]&lt;br /&gt;
&lt;br /&gt;
== How this method works ==&lt;br /&gt;
This uses Xorg Tools to setup the configuration.&lt;br /&gt;
&lt;br /&gt;
It uses existing cifs filesharing and rsync to perform the dropbox syncing.&lt;br /&gt;
&lt;br /&gt;
In a nutshell, it mounts a Windows fileshare specific to dropbox onto webOS device and uses rsync to sync.  Cron scheduling (limited) is used to periodically check for dropbox updates.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
You need the following tools/knowledge to use this service...&lt;br /&gt;
&lt;br /&gt;
- A dropbox account with client running on a Windows PC&amp;lt;br&amp;gt;&lt;br /&gt;
- PC terminal access to phone, or webOS Quick Install&amp;lt;br&amp;gt;&lt;br /&gt;
- Need to know the local IP address of the PC with dropbox client&amp;lt;br&amp;gt;&lt;br /&gt;
- Helps to know how to setup Windows print/filesharing&amp;lt;br&amp;gt;&lt;br /&gt;
-- though the xt wizard walks you through setup&lt;br /&gt;
&lt;br /&gt;
== How to install ==&lt;br /&gt;
&lt;br /&gt;
'''Install Xorg Tools'''&lt;br /&gt;
&lt;br /&gt;
Paste this in a terminal session or use webOS Quick Install Linux Command line...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /tmp &amp;amp;&amp;amp; wget -qO- http://dl.dropbox.com/u/3812896/xt.setup | /bin/sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Terminal app (available on Preware) or in a Terminal session...&lt;br /&gt;
&lt;br /&gt;
- Run 'xt' from linux&lt;br /&gt;
&lt;br /&gt;
Find the IP address of the computer with dropbox before continuing.  If you don't know how to find the local IP address on your computer, this is not for you.  Use the local IP address, not the WAN address.  Best to start with local segment and then once working, tinker with router port forwarding to maybe use over EVDO and external WiFi.&lt;br /&gt;
&lt;br /&gt;
'''Initial Setup'''&lt;br /&gt;
&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dbx) dropbox menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dbi) dropbox initial setup&lt;br /&gt;
&lt;br /&gt;
Follow all instructions very carefully.&lt;br /&gt;
&lt;br /&gt;
Once installed, run a manual sync.&lt;br /&gt;
&lt;br /&gt;
'''Manual Sync'''&lt;br /&gt;
&lt;br /&gt;
- adv) advanced menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dbx) dropbox menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dsn) dropbox sync now&lt;br /&gt;
&lt;br /&gt;
If this is successful, setup scheduling.&lt;br /&gt;
&lt;br /&gt;
'''Scheduling'''&lt;br /&gt;
&lt;br /&gt;
- adv) advanced menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dbx) dropbox menu&amp;lt;br&amp;gt;&lt;br /&gt;
- sds) schedule dropbox sync&lt;br /&gt;
&lt;br /&gt;
There is an issue with cron that it doesn't consistently run jobs when asleep.  It will sync when you use your phone or if charging.  Am working on it.&lt;br /&gt;
&lt;br /&gt;
== Using the Inbox/Outbox Folders ==&lt;br /&gt;
&lt;br /&gt;
This method cannot sync dropbox in both directions to the same folder so inbox and outbox folders are created.&lt;br /&gt;
&lt;br /&gt;
webOS inbox and outbox locations:&amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/dropbox/inbox&amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/dropbox/outbox&lt;br /&gt;
&lt;br /&gt;
Drop a file on webOS outbox and it will appear on Windows inbox.&amp;lt;br&amp;gt;&lt;br /&gt;
Drop a file on Windows outbox and it will appear on webOS inbox.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To delete files, you must do it from the outbox side.  If you delete from the inbox side, it will be updated again.  I hope to find a way around this in a future release.&lt;br /&gt;
&lt;br /&gt;
Use Internalz app (available on Preware) to manage moving files/folders in and out of dropbox.&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
'''Permission Errors'''&lt;br /&gt;
&lt;br /&gt;
If you get permission errors when doing a manual sync, check the following...&lt;br /&gt;
&lt;br /&gt;
- Make sure the Windows backup folder share has 'full control'.  Must have read/write access to the share.&amp;lt;br&amp;gt;&lt;br /&gt;
- Ensure the Windows folder _sharename_ is 'webos'.  It must be named this.&amp;lt;br&amp;gt;&lt;br /&gt;
- The Windows user account cannot have a space in the name or password.  If so, create a new Windows user with no space/password and re-run backup initial setup.&lt;br /&gt;
&lt;br /&gt;
== Caveats ==&lt;br /&gt;
&lt;br /&gt;
- The username and password on the Windows PC cannot have any spaces.  You'll need to use or create an account on Windows that has no spaces for the user id and password.&lt;br /&gt;
&lt;br /&gt;
- The username/password of the Windows PC appear in /etc/fstab.   Anyone know how to hide this?&lt;br /&gt;
&lt;br /&gt;
- It turns out that webos kernel has built in cifs support and samba is not needed.  If you were an early tester and installed samba (on or before Jan 31), you can remove unless you're using for other reasons.&lt;br /&gt;
&lt;br /&gt;
ipkg-opt remove samba&lt;br /&gt;
&lt;br /&gt;
== Layout Details ==&lt;br /&gt;
These are the configuration/script files involved if you want to make manual changes.&lt;br /&gt;
&lt;br /&gt;
/media/internal/xorgtools/etc/dropbox.cfg (stores ip, username, passwd, etc)&amp;lt;br&amp;gt;&lt;br /&gt;
/var/spool/cron/crontabs/root  (cron schedling)&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
/media/internal/xorgtools/dbx.mnu (the dropbox menu)&amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/xorgtools/dbx (directory of dropbox scripts)&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How to Remove ==&lt;br /&gt;
&lt;br /&gt;
Remove the backup setup...&amp;lt;br&amp;gt;&lt;br /&gt;
- adv) advanced menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dbx) dropbox menu&amp;lt;br&amp;gt;&lt;br /&gt;
- rdb) remove all dropbox setup &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This remove the dropbox related entries in...&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/fstab&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/hosts&amp;lt;br&amp;gt;&lt;br /&gt;
/var/spool/cron/crontabs/root&lt;br /&gt;
&lt;br /&gt;
You can re-install with 'dropbox initial setup' menu item.&lt;br /&gt;
&lt;br /&gt;
== ToDos/Requests ==&lt;br /&gt;
&lt;br /&gt;
Looking for help on triggering the sync when a file changes in /media/internal/dropbox/outbox.  It can likely be done with Upstart inotify but I'm not too up on Upstart.  Could use some help. - pm me at precentral - xorg.&lt;br /&gt;
&lt;br /&gt;
Please post other ideas and feature requests here.&lt;br /&gt;
&lt;br /&gt;
== Alternate Methods/Other Platforms ==&lt;br /&gt;
&lt;br /&gt;
I chose to do Windows/cifs because that is what most people have available.  This could be more easily ported to Mac/Linux by just using rsync (cifs not necessary) in both directions setting up in/outbox as described above.&lt;br /&gt;
&lt;br /&gt;
== Credits ==&lt;br /&gt;
&lt;br /&gt;
Thanks much to testers... Vincent Law, navinaq, Kyusaku&lt;/div&gt;</summary>
		<author><name>Xorg</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Xorg_Tools_-_Power_Tools_for_Power_Users&amp;diff=9088</id>
		<title>Xorg Tools - Power Tools for Power Users</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Xorg_Tools_-_Power_Tools_for_Power_Users&amp;diff=9088"/>
		<updated>2010-02-17T15:33:44Z</updated>

		<summary type="html">&lt;p&gt;Xorg: /* Adding/Modifying Plugins */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
Xorg Tools (aka xt) is a Linux script that sets up lower level Linux services or power user functions on webOS devices.  Xorg Tools will approach functions that may not make it as a webOS app.  Many xt functions are setups of optware services/commands or implementations of webos-internals.org pages that never made it to an app (credits are given).  &lt;br /&gt;
&lt;br /&gt;
Xorg Tools is intended for Power Users, those generally experienced with making lower level configurations to their phones and computers. If you can use vi editor, xt is for you.  If you are comfortable with command lines, xt is probably for you. Using these tools may require some knowledge to setup connectivity with other systems.  In some cases Linux/app-specific knowledge is needed for more detailed configuration, but in most cases xt will do the basic setup to get things working.&lt;br /&gt;
&lt;br /&gt;
Xorg Tools runs from a terminal session (or Terminal app available in PreWare) as 'xt' command.  As xt matures, it may run from Launcher (launching terminal app with xt menu).  Xorg Tools can be used either in menu mode or with command arguments.&lt;br /&gt;
&lt;br /&gt;
== Initial Features ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 1) Diagnostics - analyzes storage usage, seeks known problem areas of webOS devices.&lt;br /&gt;
 2) Scheduling - sets up Linux cron to allow scheduling apps or daily reboots.&lt;br /&gt;
 3) Performance - changing priority of key processes (more capabilities in future).&lt;br /&gt;
 4) mvapp - maintains relevant mvapp commands for recovery, continues support for linking email.&lt;br /&gt;
 5) optware - base optware setup (via webOS-internals boostrap)&lt;br /&gt;
 6) File Sharing - sets up samba filesharing, both in/outbound connections &lt;br /&gt;
 7) PreWare Install - easily install/update PreWare from a Terminal session.&lt;br /&gt;
 8) Dropbox sync - sync your webos device to Dropbox filesharing service &lt;br /&gt;
 9) Backup Media Drive over WiFi - scheduled automatic backups of media to a PC.&lt;br /&gt;
10) IOBox File Syncing - sync files to any PC or NAS device that supports cifs/samba.&lt;br /&gt;
 &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Many more things are planned like aiding the install/setup of webos-internals pages like emulators, vnc, dynamic dns, network tunables, etc.  If needed someday, a malware scanner also might be in xt's future.  Taking requests for features/functions that likely would not make it as a webOS app.  Am seeking other optware packages that could be useful under webOS - CUPS printing?&lt;br /&gt;
&lt;br /&gt;
While many experienced with Linux can setup these by reading the webos-internals pages, the target for xt is to set this stuff up for you in one shot and make it more accessible.&lt;br /&gt;
&lt;br /&gt;
== Initial Release ==&lt;br /&gt;
A development version is now available.  It will not be released on Homebrew installers for a while as this isn't intended for the masses yet.  For now xt is for power users who can manage lower level changes..  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Paste this in a Terminal session or in WebOS QI Linux Commandline...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
wget -qO- http://tinyurl.com/xt-setup | /bin/sh&lt;br /&gt;
&lt;br /&gt;
xt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Check for daily updates...&lt;br /&gt;
&lt;br /&gt;
xt upd&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Removing Xorg Tools ==&lt;br /&gt;
Be sure to remove any setup that xt creates, such as cron setup, samba services, etc. unless you know how to remove those manually.&lt;br /&gt;
&lt;br /&gt;
For now xt itself needs to be removed manually from Terminal...&amp;lt;br&amp;gt;&lt;br /&gt;
rm /usr/local/bin/xt&amp;lt;br&amp;gt;&lt;br /&gt;
cd /media/internal&amp;lt;br&amp;gt;&lt;br /&gt;
rm -r xorgtools&lt;br /&gt;
&lt;br /&gt;
== Adding/Modifying Plugins ==&lt;br /&gt;
Scripters can add their own plugins to xorg tools menus or customize existing ones.  Scripters should not directly customize plugins that are included with xt as the plugins will be overwritten with the next update.  Best to copy the plugin and modify it.  Existing plugins can also be used as templates if you want to add your own plugin.  If you'd like to submit a plugin for distribution, PM 'xorg' on PreCentral.&lt;br /&gt;
&lt;br /&gt;
Example using Media backup plugin:&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Xorg Tools menus will automatically list all items that end in .mnu in the plugins folder.&lt;br /&gt;
&lt;br /&gt;
cd /media/internal/xorgtools/plugins&amp;lt;br&amp;gt;&lt;br /&gt;
ls&amp;lt;br&amp;gt;&lt;br /&gt;
bck         bck.mnu &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(copy the menu script)&amp;lt;br&amp;gt;&lt;br /&gt;
cp bck.mnu tst.mnu&amp;lt;br&amp;gt;&lt;br /&gt;
vi tst.mnu&amp;lt;br&amp;gt;&lt;br /&gt;
(edit the tag: line)&amp;lt;br&amp;gt;&lt;br /&gt;
tag:f1:f2:f3&amp;lt;br&amp;gt;&lt;br /&gt;
f1 - the title of the service that will appear in the plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
f2 - the three letter selection code that will appear in plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
f3 - the filename of menu script&amp;lt;br&amp;gt;&lt;br /&gt;
f4 - which menu to place in: basic, advanced, experimental&lt;br /&gt;
&lt;br /&gt;
cp -r bck tst&amp;lt;br&amp;gt;&lt;br /&gt;
cd tst&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Edit these scripts as you'd like, they can be named anything.  Edit tst.mnu above to launch each script per the menu selection items.&lt;br /&gt;
&lt;br /&gt;
== Support/Discussion ==&lt;br /&gt;
See the [http://forums.precentral.net/webos-internals/226574-xorg-tools-power-tools-power-users.html PreCentral Thread] for support, questions and discussion.&lt;br /&gt;
&lt;br /&gt;
== License ==&lt;br /&gt;
Xorg Tools follows the [http://www.webos-internals.org/wiki/MIT_Open_Source_License_-_webOS-Patches webos-internals MIT license model].  &lt;br /&gt;
&lt;br /&gt;
Developers are encouraged to use xt code or concepts in other projects, per the terms of the license.  If a function of xt is eventually better maintained in another project, the xt feature will likely be redirected to that project and in some cases adopted back into xt.&lt;br /&gt;
&lt;br /&gt;
== Guides ==&lt;br /&gt;
&lt;br /&gt;
This section points to additional guides to further configure any optware or other tools that is an xt function.&lt;br /&gt;
&lt;br /&gt;
Feel free to add other guides, such as connection to Windows and Mac.&lt;br /&gt;
&lt;br /&gt;
'''Media Backup over WiFi'''&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.webos-internals.org/wiki/Backup_Media_Drive_over_WiFi Setup Instructions]&lt;br /&gt;
&lt;br /&gt;
'''Dropbox Syncing'''&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.webos-internals.org/wiki/Dropbox_Syncing Setup Instructions]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Filesharing''':&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.webos-internals.org/wiki/Samba_Access Samba Setup] - from webos-internals&amp;lt;br&amp;gt;&lt;br /&gt;
[http://us3.samba.org/samba Official Samba Site] - use for more detailed setup&amp;lt;br&amp;gt;&lt;br /&gt;
[http://forums.precentral.net/showthread.php?p=2173985 Windows Mounting] - how to setup a share mountpoint with Windows&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Scheduling'''&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.webos-internals.org/wiki/Crond Initial Cron Setup] - from webos-internals&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.pantz.org/software/cron/croninfo.html Cron Guide] - a guide with more details&lt;/div&gt;</summary>
		<author><name>Xorg</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Xorg_Tools_-_Power_Tools_for_Power_Users&amp;diff=9087</id>
		<title>Xorg Tools - Power Tools for Power Users</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Xorg_Tools_-_Power_Tools_for_Power_Users&amp;diff=9087"/>
		<updated>2010-02-17T15:29:46Z</updated>

		<summary type="html">&lt;p&gt;Xorg: /* Removing Xorg Tools */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
Xorg Tools (aka xt) is a Linux script that sets up lower level Linux services or power user functions on webOS devices.  Xorg Tools will approach functions that may not make it as a webOS app.  Many xt functions are setups of optware services/commands or implementations of webos-internals.org pages that never made it to an app (credits are given).  &lt;br /&gt;
&lt;br /&gt;
Xorg Tools is intended for Power Users, those generally experienced with making lower level configurations to their phones and computers. If you can use vi editor, xt is for you.  If you are comfortable with command lines, xt is probably for you. Using these tools may require some knowledge to setup connectivity with other systems.  In some cases Linux/app-specific knowledge is needed for more detailed configuration, but in most cases xt will do the basic setup to get things working.&lt;br /&gt;
&lt;br /&gt;
Xorg Tools runs from a terminal session (or Terminal app available in PreWare) as 'xt' command.  As xt matures, it may run from Launcher (launching terminal app with xt menu).  Xorg Tools can be used either in menu mode or with command arguments.&lt;br /&gt;
&lt;br /&gt;
== Initial Features ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 1) Diagnostics - analyzes storage usage, seeks known problem areas of webOS devices.&lt;br /&gt;
 2) Scheduling - sets up Linux cron to allow scheduling apps or daily reboots.&lt;br /&gt;
 3) Performance - changing priority of key processes (more capabilities in future).&lt;br /&gt;
 4) mvapp - maintains relevant mvapp commands for recovery, continues support for linking email.&lt;br /&gt;
 5) optware - base optware setup (via webOS-internals boostrap)&lt;br /&gt;
 6) File Sharing - sets up samba filesharing, both in/outbound connections &lt;br /&gt;
 7) PreWare Install - easily install/update PreWare from a Terminal session.&lt;br /&gt;
 8) Dropbox sync - sync your webos device to Dropbox filesharing service &lt;br /&gt;
 9) Backup Media Drive over WiFi - scheduled automatic backups of media to a PC.&lt;br /&gt;
10) IOBox File Syncing - sync files to any PC or NAS device that supports cifs/samba.&lt;br /&gt;
 &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Many more things are planned like aiding the install/setup of webos-internals pages like emulators, vnc, dynamic dns, network tunables, etc.  If needed someday, a malware scanner also might be in xt's future.  Taking requests for features/functions that likely would not make it as a webOS app.  Am seeking other optware packages that could be useful under webOS - CUPS printing?&lt;br /&gt;
&lt;br /&gt;
While many experienced with Linux can setup these by reading the webos-internals pages, the target for xt is to set this stuff up for you in one shot and make it more accessible.&lt;br /&gt;
&lt;br /&gt;
== Initial Release ==&lt;br /&gt;
A development version is now available.  It will not be released on Homebrew installers for a while as this isn't intended for the masses yet.  For now xt is for power users who can manage lower level changes..  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Paste this in a Terminal session or in WebOS QI Linux Commandline...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
wget -qO- http://tinyurl.com/xt-setup | /bin/sh&lt;br /&gt;
&lt;br /&gt;
xt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Check for daily updates...&lt;br /&gt;
&lt;br /&gt;
xt upd&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Removing Xorg Tools ==&lt;br /&gt;
Be sure to remove any setup that xt creates, such as cron setup, samba services, etc. unless you know how to remove those manually.&lt;br /&gt;
&lt;br /&gt;
For now xt itself needs to be removed manually from Terminal...&amp;lt;br&amp;gt;&lt;br /&gt;
rm /usr/local/bin/xt&amp;lt;br&amp;gt;&lt;br /&gt;
cd /media/internal&amp;lt;br&amp;gt;&lt;br /&gt;
rm -r xorgtools&lt;br /&gt;
&lt;br /&gt;
== Adding/Modifying Plugins ==&lt;br /&gt;
Scripters can add their own plugins to xorg tools menus or customize existing ones.  Scripters should not customize plugins that are included with xt as the plugins will be overwritten with the next update.  Best to copy the plugin and modify it.  Existing plugins should also be used as template if you want to add your own plugin.&lt;br /&gt;
&lt;br /&gt;
Example using Media backup plugin:&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Xorg Tools plugin menu will automatically list all items that end in .mnu in the plugins folder.&lt;br /&gt;
&lt;br /&gt;
cd /media/internal/xorgtools/plugins&amp;lt;br&amp;gt;&lt;br /&gt;
ls&amp;lt;br&amp;gt;&lt;br /&gt;
bck         bck.mnu &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(copy the menu script)&amp;lt;br&amp;gt;&lt;br /&gt;
cp bck.mnu tst.mnu&amp;lt;br&amp;gt;&lt;br /&gt;
vi tst.mnu&amp;lt;br&amp;gt;&lt;br /&gt;
(edit the tag: line)&amp;lt;br&amp;gt;&lt;br /&gt;
tag:f1:f2:f3&amp;lt;br&amp;gt;&lt;br /&gt;
f1 - the title of the service that will appear in the plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
f2 - the three letter selection code that will appear in plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
f3 - the filename of menu script&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
cp -r bck tst&amp;lt;br&amp;gt;&lt;br /&gt;
cd tst&amp;lt;br&amp;gt;&lt;br /&gt;
(edit these scripts as you'd like, they can be named anything.  edit tst.mnu above to launch each script per the menu selection items.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Support/Discussion ==&lt;br /&gt;
See the [http://forums.precentral.net/webos-internals/226574-xorg-tools-power-tools-power-users.html PreCentral Thread] for support, questions and discussion.&lt;br /&gt;
&lt;br /&gt;
== License ==&lt;br /&gt;
Xorg Tools follows the [http://www.webos-internals.org/wiki/MIT_Open_Source_License_-_webOS-Patches webos-internals MIT license model].  &lt;br /&gt;
&lt;br /&gt;
Developers are encouraged to use xt code or concepts in other projects, per the terms of the license.  If a function of xt is eventually better maintained in another project, the xt feature will likely be redirected to that project and in some cases adopted back into xt.&lt;br /&gt;
&lt;br /&gt;
== Guides ==&lt;br /&gt;
&lt;br /&gt;
This section points to additional guides to further configure any optware or other tools that is an xt function.&lt;br /&gt;
&lt;br /&gt;
Feel free to add other guides, such as connection to Windows and Mac.&lt;br /&gt;
&lt;br /&gt;
'''Media Backup over WiFi'''&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.webos-internals.org/wiki/Backup_Media_Drive_over_WiFi Setup Instructions]&lt;br /&gt;
&lt;br /&gt;
'''Dropbox Syncing'''&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.webos-internals.org/wiki/Dropbox_Syncing Setup Instructions]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Filesharing''':&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.webos-internals.org/wiki/Samba_Access Samba Setup] - from webos-internals&amp;lt;br&amp;gt;&lt;br /&gt;
[http://us3.samba.org/samba Official Samba Site] - use for more detailed setup&amp;lt;br&amp;gt;&lt;br /&gt;
[http://forums.precentral.net/showthread.php?p=2173985 Windows Mounting] - how to setup a share mountpoint with Windows&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Scheduling'''&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.webos-internals.org/wiki/Crond Initial Cron Setup] - from webos-internals&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.pantz.org/software/cron/croninfo.html Cron Guide] - a guide with more details&lt;/div&gt;</summary>
		<author><name>Xorg</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Xorg_Tools_-_Power_Tools_for_Power_Users&amp;diff=9086</id>
		<title>Xorg Tools - Power Tools for Power Users</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Xorg_Tools_-_Power_Tools_for_Power_Users&amp;diff=9086"/>
		<updated>2010-02-17T15:29:02Z</updated>

		<summary type="html">&lt;p&gt;Xorg: /* Initial Features */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
Xorg Tools (aka xt) is a Linux script that sets up lower level Linux services or power user functions on webOS devices.  Xorg Tools will approach functions that may not make it as a webOS app.  Many xt functions are setups of optware services/commands or implementations of webos-internals.org pages that never made it to an app (credits are given).  &lt;br /&gt;
&lt;br /&gt;
Xorg Tools is intended for Power Users, those generally experienced with making lower level configurations to their phones and computers. If you can use vi editor, xt is for you.  If you are comfortable with command lines, xt is probably for you. Using these tools may require some knowledge to setup connectivity with other systems.  In some cases Linux/app-specific knowledge is needed for more detailed configuration, but in most cases xt will do the basic setup to get things working.&lt;br /&gt;
&lt;br /&gt;
Xorg Tools runs from a terminal session (or Terminal app available in PreWare) as 'xt' command.  As xt matures, it may run from Launcher (launching terminal app with xt menu).  Xorg Tools can be used either in menu mode or with command arguments.&lt;br /&gt;
&lt;br /&gt;
== Initial Features ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 1) Diagnostics - analyzes storage usage, seeks known problem areas of webOS devices.&lt;br /&gt;
 2) Scheduling - sets up Linux cron to allow scheduling apps or daily reboots.&lt;br /&gt;
 3) Performance - changing priority of key processes (more capabilities in future).&lt;br /&gt;
 4) mvapp - maintains relevant mvapp commands for recovery, continues support for linking email.&lt;br /&gt;
 5) optware - base optware setup (via webOS-internals boostrap)&lt;br /&gt;
 6) File Sharing - sets up samba filesharing, both in/outbound connections &lt;br /&gt;
 7) PreWare Install - easily install/update PreWare from a Terminal session.&lt;br /&gt;
 8) Dropbox sync - sync your webos device to Dropbox filesharing service &lt;br /&gt;
 9) Backup Media Drive over WiFi - scheduled automatic backups of media to a PC.&lt;br /&gt;
10) IOBox File Syncing - sync files to any PC or NAS device that supports cifs/samba.&lt;br /&gt;
 &amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Many more things are planned like aiding the install/setup of webos-internals pages like emulators, vnc, dynamic dns, network tunables, etc.  If needed someday, a malware scanner also might be in xt's future.  Taking requests for features/functions that likely would not make it as a webOS app.  Am seeking other optware packages that could be useful under webOS - CUPS printing?&lt;br /&gt;
&lt;br /&gt;
While many experienced with Linux can setup these by reading the webos-internals pages, the target for xt is to set this stuff up for you in one shot and make it more accessible.&lt;br /&gt;
&lt;br /&gt;
== Initial Release ==&lt;br /&gt;
A development version is now available.  It will not be released on Homebrew installers for a while as this isn't intended for the masses yet.  For now xt is for power users who can manage lower level changes..  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Paste this in a Terminal session or in WebOS QI Linux Commandline...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
wget -qO- http://tinyurl.com/xt-setup | /bin/sh&lt;br /&gt;
&lt;br /&gt;
xt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Check for daily updates...&lt;br /&gt;
&lt;br /&gt;
xt upd&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Removing Xorg Tools ==&lt;br /&gt;
Be sure to remove any setup that xt creates, such as cron setup, samba services, etc. unless you know how to remove those manually.&lt;br /&gt;
&lt;br /&gt;
For now xt itself needs to be removed manually from Terminal...&amp;lt;br&amp;gt;&lt;br /&gt;
rm /usr/local/bin&amp;lt;br&amp;gt;&lt;br /&gt;
cd /media/internal&amp;lt;br&amp;gt;&lt;br /&gt;
rm -r xorgtools&lt;br /&gt;
&lt;br /&gt;
== Adding/Modifying Plugins ==&lt;br /&gt;
Scripters can add their own plugins to xorg tools menus or customize existing ones.  Scripters should not customize plugins that are included with xt as the plugins will be overwritten with the next update.  Best to copy the plugin and modify it.  Existing plugins should also be used as template if you want to add your own plugin.&lt;br /&gt;
&lt;br /&gt;
Example using Media backup plugin:&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Xorg Tools plugin menu will automatically list all items that end in .mnu in the plugins folder.&lt;br /&gt;
&lt;br /&gt;
cd /media/internal/xorgtools/plugins&amp;lt;br&amp;gt;&lt;br /&gt;
ls&amp;lt;br&amp;gt;&lt;br /&gt;
bck         bck.mnu &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(copy the menu script)&amp;lt;br&amp;gt;&lt;br /&gt;
cp bck.mnu tst.mnu&amp;lt;br&amp;gt;&lt;br /&gt;
vi tst.mnu&amp;lt;br&amp;gt;&lt;br /&gt;
(edit the tag: line)&amp;lt;br&amp;gt;&lt;br /&gt;
tag:f1:f2:f3&amp;lt;br&amp;gt;&lt;br /&gt;
f1 - the title of the service that will appear in the plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
f2 - the three letter selection code that will appear in plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
f3 - the filename of menu script&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
cp -r bck tst&amp;lt;br&amp;gt;&lt;br /&gt;
cd tst&amp;lt;br&amp;gt;&lt;br /&gt;
(edit these scripts as you'd like, they can be named anything.  edit tst.mnu above to launch each script per the menu selection items.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Support/Discussion ==&lt;br /&gt;
See the [http://forums.precentral.net/webos-internals/226574-xorg-tools-power-tools-power-users.html PreCentral Thread] for support, questions and discussion.&lt;br /&gt;
&lt;br /&gt;
== License ==&lt;br /&gt;
Xorg Tools follows the [http://www.webos-internals.org/wiki/MIT_Open_Source_License_-_webOS-Patches webos-internals MIT license model].  &lt;br /&gt;
&lt;br /&gt;
Developers are encouraged to use xt code or concepts in other projects, per the terms of the license.  If a function of xt is eventually better maintained in another project, the xt feature will likely be redirected to that project and in some cases adopted back into xt.&lt;br /&gt;
&lt;br /&gt;
== Guides ==&lt;br /&gt;
&lt;br /&gt;
This section points to additional guides to further configure any optware or other tools that is an xt function.&lt;br /&gt;
&lt;br /&gt;
Feel free to add other guides, such as connection to Windows and Mac.&lt;br /&gt;
&lt;br /&gt;
'''Media Backup over WiFi'''&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.webos-internals.org/wiki/Backup_Media_Drive_over_WiFi Setup Instructions]&lt;br /&gt;
&lt;br /&gt;
'''Dropbox Syncing'''&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.webos-internals.org/wiki/Dropbox_Syncing Setup Instructions]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Filesharing''':&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.webos-internals.org/wiki/Samba_Access Samba Setup] - from webos-internals&amp;lt;br&amp;gt;&lt;br /&gt;
[http://us3.samba.org/samba Official Samba Site] - use for more detailed setup&amp;lt;br&amp;gt;&lt;br /&gt;
[http://forums.precentral.net/showthread.php?p=2173985 Windows Mounting] - how to setup a share mountpoint with Windows&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Scheduling'''&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.webos-internals.org/wiki/Crond Initial Cron Setup] - from webos-internals&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.pantz.org/software/cron/croninfo.html Cron Guide] - a guide with more details&lt;/div&gt;</summary>
		<author><name>Xorg</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Xorg_Tools_-_Power_Tools_for_Power_Users&amp;diff=9085</id>
		<title>Xorg Tools - Power Tools for Power Users</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Xorg_Tools_-_Power_Tools_for_Power_Users&amp;diff=9085"/>
		<updated>2010-02-17T15:28:40Z</updated>

		<summary type="html">&lt;p&gt;Xorg: /* Initial Features */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
Xorg Tools (aka xt) is a Linux script that sets up lower level Linux services or power user functions on webOS devices.  Xorg Tools will approach functions that may not make it as a webOS app.  Many xt functions are setups of optware services/commands or implementations of webos-internals.org pages that never made it to an app (credits are given).  &lt;br /&gt;
&lt;br /&gt;
Xorg Tools is intended for Power Users, those generally experienced with making lower level configurations to their phones and computers. If you can use vi editor, xt is for you.  If you are comfortable with command lines, xt is probably for you. Using these tools may require some knowledge to setup connectivity with other systems.  In some cases Linux/app-specific knowledge is needed for more detailed configuration, but in most cases xt will do the basic setup to get things working.&lt;br /&gt;
&lt;br /&gt;
Xorg Tools runs from a terminal session (or Terminal app available in PreWare) as 'xt' command.  As xt matures, it may run from Launcher (launching terminal app with xt menu).  Xorg Tools can be used either in menu mode or with command arguments.&lt;br /&gt;
&lt;br /&gt;
== Initial Features ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 1) Diagnostics - analyzes storage usage, seeks known problem areas of webOS devices.&lt;br /&gt;
 2) Scheduling - sets up Linux cron to allow scheduling apps or daily reboots.&lt;br /&gt;
 3) Performance - changing priority of key processes (more capabilities in future).&lt;br /&gt;
 4) mvapp - maintains relevant mvapp commands for recovery, continues support for linking email.&lt;br /&gt;
 5) optware - base optware setup (via webOS-internals boostrap)&lt;br /&gt;
 6) File Sharing - sets up samba filesharing, both in/outbound connections &lt;br /&gt;
 7) PreWare Install - easily install/update PreWare from a Terminal session.&lt;br /&gt;
 8) Dropbox sync - sync your webos device to Dropbox filesharing service &lt;br /&gt;
 9) Backup Media Drive over WiFi - scheduled automatic backups of media to a PC.&amp;lt;/pre&amp;gt;&lt;br /&gt;
10) IOBox File Syncing - sync files to any PC or NAS device that supports cifs/samba.&lt;br /&gt;
 &lt;br /&gt;
Many more things are planned like aiding the install/setup of webos-internals pages like emulators, vnc, dynamic dns, network tunables, etc.  If needed someday, a malware scanner also might be in xt's future.  Taking requests for features/functions that likely would not make it as a webOS app.  Am seeking other optware packages that could be useful under webOS - CUPS printing?&lt;br /&gt;
&lt;br /&gt;
While many experienced with Linux can setup these by reading the webos-internals pages, the target for xt is to set this stuff up for you in one shot and make it more accessible.&lt;br /&gt;
&lt;br /&gt;
== Initial Release ==&lt;br /&gt;
A development version is now available.  It will not be released on Homebrew installers for a while as this isn't intended for the masses yet.  For now xt is for power users who can manage lower level changes..  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Paste this in a Terminal session or in WebOS QI Linux Commandline...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
wget -qO- http://tinyurl.com/xt-setup | /bin/sh&lt;br /&gt;
&lt;br /&gt;
xt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Check for daily updates...&lt;br /&gt;
&lt;br /&gt;
xt upd&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Removing Xorg Tools ==&lt;br /&gt;
Be sure to remove any setup that xt creates, such as cron setup, samba services, etc. unless you know how to remove those manually.&lt;br /&gt;
&lt;br /&gt;
For now xt itself needs to be removed manually from Terminal...&amp;lt;br&amp;gt;&lt;br /&gt;
rm /usr/local/bin&amp;lt;br&amp;gt;&lt;br /&gt;
cd /media/internal&amp;lt;br&amp;gt;&lt;br /&gt;
rm -r xorgtools&lt;br /&gt;
&lt;br /&gt;
== Adding/Modifying Plugins ==&lt;br /&gt;
Scripters can add their own plugins to xorg tools menus or customize existing ones.  Scripters should not customize plugins that are included with xt as the plugins will be overwritten with the next update.  Best to copy the plugin and modify it.  Existing plugins should also be used as template if you want to add your own plugin.&lt;br /&gt;
&lt;br /&gt;
Example using Media backup plugin:&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Xorg Tools plugin menu will automatically list all items that end in .mnu in the plugins folder.&lt;br /&gt;
&lt;br /&gt;
cd /media/internal/xorgtools/plugins&amp;lt;br&amp;gt;&lt;br /&gt;
ls&amp;lt;br&amp;gt;&lt;br /&gt;
bck         bck.mnu &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(copy the menu script)&amp;lt;br&amp;gt;&lt;br /&gt;
cp bck.mnu tst.mnu&amp;lt;br&amp;gt;&lt;br /&gt;
vi tst.mnu&amp;lt;br&amp;gt;&lt;br /&gt;
(edit the tag: line)&amp;lt;br&amp;gt;&lt;br /&gt;
tag:f1:f2:f3&amp;lt;br&amp;gt;&lt;br /&gt;
f1 - the title of the service that will appear in the plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
f2 - the three letter selection code that will appear in plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
f3 - the filename of menu script&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
cp -r bck tst&amp;lt;br&amp;gt;&lt;br /&gt;
cd tst&amp;lt;br&amp;gt;&lt;br /&gt;
(edit these scripts as you'd like, they can be named anything.  edit tst.mnu above to launch each script per the menu selection items.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Support/Discussion ==&lt;br /&gt;
See the [http://forums.precentral.net/webos-internals/226574-xorg-tools-power-tools-power-users.html PreCentral Thread] for support, questions and discussion.&lt;br /&gt;
&lt;br /&gt;
== License ==&lt;br /&gt;
Xorg Tools follows the [http://www.webos-internals.org/wiki/MIT_Open_Source_License_-_webOS-Patches webos-internals MIT license model].  &lt;br /&gt;
&lt;br /&gt;
Developers are encouraged to use xt code or concepts in other projects, per the terms of the license.  If a function of xt is eventually better maintained in another project, the xt feature will likely be redirected to that project and in some cases adopted back into xt.&lt;br /&gt;
&lt;br /&gt;
== Guides ==&lt;br /&gt;
&lt;br /&gt;
This section points to additional guides to further configure any optware or other tools that is an xt function.&lt;br /&gt;
&lt;br /&gt;
Feel free to add other guides, such as connection to Windows and Mac.&lt;br /&gt;
&lt;br /&gt;
'''Media Backup over WiFi'''&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.webos-internals.org/wiki/Backup_Media_Drive_over_WiFi Setup Instructions]&lt;br /&gt;
&lt;br /&gt;
'''Dropbox Syncing'''&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.webos-internals.org/wiki/Dropbox_Syncing Setup Instructions]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Filesharing''':&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.webos-internals.org/wiki/Samba_Access Samba Setup] - from webos-internals&amp;lt;br&amp;gt;&lt;br /&gt;
[http://us3.samba.org/samba Official Samba Site] - use for more detailed setup&amp;lt;br&amp;gt;&lt;br /&gt;
[http://forums.precentral.net/showthread.php?p=2173985 Windows Mounting] - how to setup a share mountpoint with Windows&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Scheduling'''&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.webos-internals.org/wiki/Crond Initial Cron Setup] - from webos-internals&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.pantz.org/software/cron/croninfo.html Cron Guide] - a guide with more details&lt;/div&gt;</summary>
		<author><name>Xorg</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=IOBox_-_PC_File_Syncing_(xorg_tools)&amp;diff=9084</id>
		<title>IOBox - PC File Syncing (xorg tools)</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=IOBox_-_PC_File_Syncing_(xorg_tools)&amp;diff=9084"/>
		<updated>2010-02-17T15:25:30Z</updated>

		<summary type="html">&lt;p&gt;Xorg: New page: == Overview == In/Outbox (iobox) is a [http://www.webos-internals.org/wiki/Xorg_Tools_-_Power_Tools_for_Power_Users Xorg Tools] function that allows syncing webOS files/folders to a Window...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
In/Outbox (iobox) is a [http://www.webos-internals.org/wiki/Xorg_Tools_-_Power_Tools_for_Power_Users Xorg Tools] function that allows syncing webOS files/folders to a Windows PC or any other OS/NAS device that supports cifs/samba.  It sets up /media/internal/iobox with inbox/outbox folders.  Drop a file in the outbox on either end and it shows up in the inbox on the other end.&lt;br /&gt;
&lt;br /&gt;
== How this method works ==&lt;br /&gt;
This uses Xorg Tools to setup the configuration.&lt;br /&gt;
&lt;br /&gt;
It uses existing cifs filesharing and rsync to perform the syncing.&lt;br /&gt;
&lt;br /&gt;
In a nutshell, it mounts a Windows fileshare onto webOS device and uses rsync to sync.  Cron scheduling (limited) is used to periodically check for updates.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
You need the following tools/knowledge to use this service...&lt;br /&gt;
&lt;br /&gt;
- A Windows PC or OS/NAS device that supports cifs or samba&amp;lt;br&amp;gt;&lt;br /&gt;
- PC terminal access to phone, or webOS Quick Install&amp;lt;br&amp;gt;&lt;br /&gt;
- Need to know the local IP address of the PC &amp;lt;br&amp;gt;&lt;br /&gt;
- Helps to know how to setup Windows print/filesharing&amp;lt;br&amp;gt;&lt;br /&gt;
-- though the xt wizard walks you through setup&lt;br /&gt;
&lt;br /&gt;
== How to install ==&lt;br /&gt;
&lt;br /&gt;
'''Install Xorg Tools'''&lt;br /&gt;
&lt;br /&gt;
Paste this in a terminal session or use webOS Quick Install Linux Command line...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /tmp &amp;amp;&amp;amp; wget -qO- http://dl.dropbox.com/u/3812896/xt.setup | /bin/sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Terminal app (available on Preware) or in a Terminal session...&lt;br /&gt;
&lt;br /&gt;
- Run 'xt' from linux&lt;br /&gt;
&lt;br /&gt;
Find the IP address of the computer before continuing.  If you don't know how to find the local IP address on your computer, this is not for you.  Use the local IP address, not the WAN address.  Best to start with local segment and then once working, tinker with router port forwarding to maybe use over EVDO and external WiFi.&lt;br /&gt;
&lt;br /&gt;
'''Initial Setup'''&lt;br /&gt;
&lt;br /&gt;
- adv) advanced menu&amp;lt;br&amp;gt;&lt;br /&gt;
- iob) iobox menu&amp;lt;br&amp;gt;&lt;br /&gt;
- ios) iobox initial setup&lt;br /&gt;
&lt;br /&gt;
Follow all instructions very carefully.&lt;br /&gt;
&lt;br /&gt;
Once installed, run a manual sync.&lt;br /&gt;
&lt;br /&gt;
'''Manual Sync'''&lt;br /&gt;
&lt;br /&gt;
- adv) advanced menu&amp;lt;br&amp;gt;&lt;br /&gt;
- iob) iobox menu&amp;lt;br&amp;gt;&lt;br /&gt;
- isn) iobox sync now&lt;br /&gt;
&lt;br /&gt;
If this is successful, setup scheduling.&lt;br /&gt;
&lt;br /&gt;
'''Scheduling'''&lt;br /&gt;
&lt;br /&gt;
- adv) advanced menu&amp;lt;br&amp;gt;&lt;br /&gt;
- iob) iobox menu&amp;lt;br&amp;gt;&lt;br /&gt;
- sis) schedule iobox sync&lt;br /&gt;
&lt;br /&gt;
There is an issue with cron that it doesn't consistently run jobs when asleep.  It will sync when you use your phone or if charging.  Am working on it.&lt;br /&gt;
&lt;br /&gt;
== Using the Inbox/Outbox Folders ==&lt;br /&gt;
&lt;br /&gt;
This method cannot sync in both directions to the same folder so inbox and outbox folders are created.&lt;br /&gt;
&lt;br /&gt;
webOS inbox and outbox locations:&amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/iobox/inbox&amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/iobox/outbox&lt;br /&gt;
&lt;br /&gt;
Drop a file on webOS outbox and it will appear on Windows inbox.&amp;lt;br&amp;gt;&lt;br /&gt;
Drop a file on Windows outbox and it will appear on webOS inbox.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To delete files, you must do it from the outbox side.  If you delete from the inbox side, it will be updated again.  I hope to find a way around this in a future release.&lt;br /&gt;
&lt;br /&gt;
Create Music/Video folders within the Windows outbox.  When you drop media into those folders, the webos media apps will find them. &lt;br /&gt;
&lt;br /&gt;
Use Internalz app (available on Preware) to manage moving files/folders in and out of iobox.&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
'''Permission Errors'''&lt;br /&gt;
&lt;br /&gt;
If you get permission errors when doing a manual sync, check the following...&lt;br /&gt;
&lt;br /&gt;
- Make sure the Windows backup folder share has 'full control'.  Must have read/write access to the share.&amp;lt;br&amp;gt;&lt;br /&gt;
- Ensure the Windows folder _sharename_ is 'webos'.  It must be named this.&amp;lt;br&amp;gt;&lt;br /&gt;
- The Windows user account cannot have a space in the name or password.  If so, create a new Windows user with no space/password and re-run backup initial setup.&lt;br /&gt;
&lt;br /&gt;
== Caveats ==&lt;br /&gt;
&lt;br /&gt;
- The username and password on the Windows PC cannot have any spaces.  You'll need to use or create an account on Windows that has no spaces for the user id and password.&lt;br /&gt;
&lt;br /&gt;
- The username/password of the Windows PC appear in /etc/fstab.   Anyone know how to hide this?&lt;br /&gt;
&lt;br /&gt;
== Layout Details ==&lt;br /&gt;
These are the configuration/script files involved if you want to make manual changes.&lt;br /&gt;
&lt;br /&gt;
/media/internal/xorgtools/etc/iobbox.cfg (stores ip, username, passwd, etc)&amp;lt;br&amp;gt;&lt;br /&gt;
/var/spool/cron/crontabs/root  (cron schedling)&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
/media/internal/xorgtools/iob.mnu (the iobox menu)&amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/xorgtools/iob (directory of iobox scripts)&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How to Remove ==&lt;br /&gt;
&lt;br /&gt;
Remove the backup setup...&amp;lt;br&amp;gt;&lt;br /&gt;
- adv) advanced menu&amp;lt;br&amp;gt;&lt;br /&gt;
- iob) iobox menu&amp;lt;br&amp;gt;&lt;br /&gt;
- rib) remove iobox setup &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This remove the iobox related entries in...&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
/var/spool/cron/crontabs/root&lt;br /&gt;
/media/internal/xorgtools/iob.mnu &amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/xorgtools/iob &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can re-install with 'iobox initial setup' menu item.&lt;br /&gt;
&lt;br /&gt;
== ToDos/Requests ==&lt;br /&gt;
&lt;br /&gt;
Please post other ideas and feature requests here.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Credits ==&lt;br /&gt;
&lt;br /&gt;
Thanks much to testers... Vincent Law, navinaq, Kyusaku&lt;/div&gt;</summary>
		<author><name>Xorg</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Dropbox_Syncing&amp;diff=9083</id>
		<title>Dropbox Syncing</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Dropbox_Syncing&amp;diff=9083"/>
		<updated>2010-02-17T15:09:46Z</updated>

		<summary type="html">&lt;p&gt;Xorg: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
Dropbox is a service that allows syncing files/folders across many computers.  Now there is a way to sync a webOS device to Dropbox.  This is not a native dropbox client.  It connects to a Windows PC that has a Dropbox client installed and syncs the files to that PC's dropbox folder.  It syncs to inbox/outbox folders in each direction.  The current version is not yet able to sync bidirectionally to the same folder, so inbox/outbox folders are used within a defined dropbox folder.&lt;br /&gt;
&lt;br /&gt;
[https://www.dropbox.com/referrals/NTEyMzg1MTQ5 Signup free or see for more info on Dropbox.]&lt;br /&gt;
&lt;br /&gt;
== How this method works ==&lt;br /&gt;
This uses Xorg Tools to setup the configuration.&lt;br /&gt;
&lt;br /&gt;
It uses existing cifs filesharing and rsync to perform the dropbox syncing.&lt;br /&gt;
&lt;br /&gt;
In a nutshell, it mounts a Windows fileshare specific to dropbox onto webOS device and uses rsync to sync.  Cron scheduling (limited) is used to periodically check for dropbox updates.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
You need the following tools/knowledge to use this service...&lt;br /&gt;
&lt;br /&gt;
- A dropbox account with client running on a Windows PC&amp;lt;br&amp;gt;&lt;br /&gt;
- PC terminal access to phone, or webOS Quick Install&amp;lt;br&amp;gt;&lt;br /&gt;
- Need to know the local IP address of the PC with dropbox client&amp;lt;br&amp;gt;&lt;br /&gt;
- Helps to know how to setup Windows print/filesharing&amp;lt;br&amp;gt;&lt;br /&gt;
-- though the xt wizard walks you through setup&lt;br /&gt;
&lt;br /&gt;
== How to install ==&lt;br /&gt;
&lt;br /&gt;
'''Install Xorg Tools'''&lt;br /&gt;
&lt;br /&gt;
Paste this in a terminal session or use webOS Quick Install Linux Command line...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /tmp &amp;amp;&amp;amp; wget -qO- http://dl.dropbox.com/u/3812896/xt.setup | /bin/sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Terminal app (available on Preware) or in a Terminal session...&lt;br /&gt;
&lt;br /&gt;
- Run 'xt' from linux&lt;br /&gt;
&lt;br /&gt;
Find the IP address of the computer with dropbox before continuing.  If you don't know how to find the local IP address on your computer, this is not for you.  Use the local IP address, not the WAN address.  Best to start with local segment and then once working, tinker with router port forwarding to maybe use over EVDO and external WiFi.&lt;br /&gt;
&lt;br /&gt;
'''Initial Setup'''&lt;br /&gt;
&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dbx) dropbox menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dbi) dropbox initial setup&lt;br /&gt;
&lt;br /&gt;
Follow all instructions very carefully.&lt;br /&gt;
&lt;br /&gt;
Once installed, run a manual sync.&lt;br /&gt;
&lt;br /&gt;
'''Manual Sync'''&lt;br /&gt;
&lt;br /&gt;
- adv) advanced menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dbx) dropbox menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dsn) dropbox sync now&lt;br /&gt;
&lt;br /&gt;
If this is successful, setup scheduling.&lt;br /&gt;
&lt;br /&gt;
'''Scheduling'''&lt;br /&gt;
&lt;br /&gt;
- adv) advanced menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dbx) dropbox menu&amp;lt;br&amp;gt;&lt;br /&gt;
- sds) schedule dropbox sync&lt;br /&gt;
&lt;br /&gt;
There is an issue with cron that it doesn't consistently run jobs when asleep.  It will sync when you use your phone or if charging.  Am working on it.&lt;br /&gt;
&lt;br /&gt;
== Using the Inbox/Outbox Folders ==&lt;br /&gt;
&lt;br /&gt;
This method cannot sync dropbox in both directions to the same folder so inbox and outbox folders are created.&lt;br /&gt;
&lt;br /&gt;
webOS inbox and outbox locations:&amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/dropbox/inbox&amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/dropbox/outbox&lt;br /&gt;
&lt;br /&gt;
Drop a file on webOS outbox and it will appear on Windows inbox.&amp;lt;br&amp;gt;&lt;br /&gt;
Drop a file on Windows outbox and it will appear on webOS inbox.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To delete files, you must do it from the outbox side.  If you delete from the inbox side, it will be updated again.  I hope to find a way around this in a future release.&lt;br /&gt;
&lt;br /&gt;
Use Internalz app (available on Preware) to manage moving files/folders in and out of dropbox.&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
'''Permission Errors'''&lt;br /&gt;
&lt;br /&gt;
If you get permission errors when doing a manual sync, check the following...&lt;br /&gt;
&lt;br /&gt;
- Make sure the Windows backup folder share has 'full control'.  Must have read/write access to the share.&amp;lt;br&amp;gt;&lt;br /&gt;
- Ensure the Windows folder _sharename_ is 'webos'.  It must be named this.&amp;lt;br&amp;gt;&lt;br /&gt;
- The Windows user account cannot have a space in the name or password.  If so, create a new Windows user with no space/password and re-run backup initial setup.&lt;br /&gt;
&lt;br /&gt;
== Caveats ==&lt;br /&gt;
&lt;br /&gt;
- The username and password on the Windows PC cannot have any spaces.  You'll need to use or create an account on Windows that has no spaces for the user id and password.&lt;br /&gt;
&lt;br /&gt;
- The username/password of the Windows PC appear in /etc/fstab.   Anyone know how to hide this?&lt;br /&gt;
&lt;br /&gt;
- It turns out that webos kernel has built in cifs support and samba is not needed.  If you were an early tester and installed samba (on or before Jan 31), you can remove unless you're using for other reasons.&lt;br /&gt;
&lt;br /&gt;
ipkg-opt remove samba&lt;br /&gt;
&lt;br /&gt;
== Layout Details ==&lt;br /&gt;
These are the configuration/script files involved if you want to make manual changes.&lt;br /&gt;
&lt;br /&gt;
/media/internal/xorgtools/etc/dropbox.cfg (stores ip, username, passwd, etc)&amp;lt;br&amp;gt;&lt;br /&gt;
/var/spool/cron/crontabs/root  (cron schedling)&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
/media/internal/xorgtools/dbx.mnu (the dropbox menu)&amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/xorgtools/dbx (directory of dropbox scripts)&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How to Remove ==&lt;br /&gt;
&lt;br /&gt;
Remove the backup setup...&amp;lt;br&amp;gt;&lt;br /&gt;
- adv) advanced menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dbx) dropbox menu&amp;lt;br&amp;gt;&lt;br /&gt;
- rdb) remove all dropbox setup &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This remove the dropbox related entries in...&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/fstab&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/hosts&amp;lt;br&amp;gt;&lt;br /&gt;
/var/spool/cron/crontabs/root&lt;br /&gt;
&lt;br /&gt;
You can re-install with 'dropbox initial setup' menu item.&lt;br /&gt;
&lt;br /&gt;
== ToDos/Requests ==&lt;br /&gt;
&lt;br /&gt;
Looking for help on triggering the sync when a file changes in /media/internal/dropbox/outbox.  It can likely be done with Upstart inotify but I'm not too up on Upstart.  Could use some help. - pm me at precentral - xorg.&lt;br /&gt;
&lt;br /&gt;
Please post other ideas and feature requests here.&lt;br /&gt;
&lt;br /&gt;
== Alternate Methods/Other Platforms ==&lt;br /&gt;
&lt;br /&gt;
I chose to do Windows/cifs because that is what most people have available.  This could be more easily ported to Mac/Linux by just using rsync (cifs not necessary) in both directions setting up in/outbox as described above.&lt;br /&gt;
&lt;br /&gt;
== Credits ==&lt;br /&gt;
&lt;br /&gt;
Thanks much to testers... Vincent Law, navinaq, Kyusaku&lt;/div&gt;</summary>
		<author><name>Xorg</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Dropbox_Syncing&amp;diff=9028</id>
		<title>Dropbox Syncing</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Dropbox_Syncing&amp;diff=9028"/>
		<updated>2010-02-12T15:22:39Z</updated>

		<summary type="html">&lt;p&gt;Xorg: /* How to install */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
Dropbox is a service that allows syncing files/folders across many computers.  Now there is a way to sync a webOS device to Dropbox.  This is not a native dropbox client.  It connects to a Windows PC that has a Dropbox client installed and syncs the files to that PC's dropbox folder.  It syncs to inbox/outbox folders in each direction.  The current version is not yet able to sync bidirectionally to the same folder, so inbox/outbox folders are used within a defined dropbox folder.&lt;br /&gt;
&lt;br /&gt;
[https://www.dropbox.com/referrals/NTM4MTI4OTY5 Signup free here or see for more info on Dropbox.]&lt;br /&gt;
&lt;br /&gt;
== How this method works ==&lt;br /&gt;
This uses Xorg Tools to setup the configuration.&lt;br /&gt;
&lt;br /&gt;
It uses existing cifs filesharing and rsync to perform the dropbox syncing.&lt;br /&gt;
&lt;br /&gt;
In a nutshell, it mounts a Windows fileshare specific to dropbox onto webOS device and uses rsync to sync.  Cron scheduling (limited) is used to periodically check for dropbox updates.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
You need the following tools/knowledge to use this service...&lt;br /&gt;
&lt;br /&gt;
- A dropbox account with client running on a Windows PC&amp;lt;br&amp;gt;&lt;br /&gt;
- PC terminal access to phone, or webOS Quick Install&amp;lt;br&amp;gt;&lt;br /&gt;
- Need to know the local IP address of the PC with dropbox client&amp;lt;br&amp;gt;&lt;br /&gt;
- Helps to know how to setup Windows print/filesharing&amp;lt;br&amp;gt;&lt;br /&gt;
-- though the xt wizard walks you through setup&lt;br /&gt;
&lt;br /&gt;
== How to install ==&lt;br /&gt;
&lt;br /&gt;
'''Install Xorg Tools'''&lt;br /&gt;
&lt;br /&gt;
Paste this in a terminal session or use webOS Quick Install Linux Command line...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /tmp &amp;amp;&amp;amp; wget -qO- http://dl.dropbox.com/u/3812896/xt.setup | /bin/sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Terminal app (available on Preware) or in a Terminal session...&lt;br /&gt;
&lt;br /&gt;
- Run 'xt' from linux&lt;br /&gt;
&lt;br /&gt;
Find the IP address of the computer with dropbox before continuing.  If you don't know how to find the local IP address on your computer, this is not for you.  Use the local IP address, not the WAN address.  Best to start with local segment and then once working, tinker with router port forwarding to maybe use over EVDO and external WiFi.&lt;br /&gt;
&lt;br /&gt;
'''Initial Setup'''&lt;br /&gt;
&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dbx) dropbox menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dbi) dropbox initial setup&lt;br /&gt;
&lt;br /&gt;
Follow all instructions very carefully.&lt;br /&gt;
&lt;br /&gt;
Once installed, run a manual sync.&lt;br /&gt;
&lt;br /&gt;
'''Manual Sync'''&lt;br /&gt;
&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dbx) dropbox menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dsn) dropbox sync now&lt;br /&gt;
&lt;br /&gt;
If this is successful, setup scheduling.&lt;br /&gt;
&lt;br /&gt;
'''Scheduling'''&lt;br /&gt;
&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dbx) dropbox menu&amp;lt;br&amp;gt;&lt;br /&gt;
- sds) schedule dropbox sync&lt;br /&gt;
&lt;br /&gt;
There is an issue with cron that it doesn't consistently run jobs when asleep.  It will sync when you use your phone or if charging.  Am working on it.&lt;br /&gt;
&lt;br /&gt;
== Using the Inbox/Outbox Folders ==&lt;br /&gt;
&lt;br /&gt;
This method cannot sync dropbox in both directions to the same folder so inbox and outbox folders are created.&lt;br /&gt;
&lt;br /&gt;
webOS inbox and outbox locations:&amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/dropbox/inbox&amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/dropbox/outbox&lt;br /&gt;
&lt;br /&gt;
Drop a file on webOS outbox and it will appear on Windows inbox.&amp;lt;br&amp;gt;&lt;br /&gt;
Drop a file on Windows outbox and it will appear on webOS inbox.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To delete files, you must do it from the outbox side.  If you delete from the inbox side, it will be updated again.  I hope to find a way around this in a future release.&lt;br /&gt;
&lt;br /&gt;
Use Internalz app (available on Preware) to manage moving files/folders in and out of dropbox.&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
'''Permission Errors'''&lt;br /&gt;
&lt;br /&gt;
If you get permission errors when doing a manual sync, check the following...&lt;br /&gt;
&lt;br /&gt;
- Make sure the Windows backup folder share has 'full control'.  Must have read/write access to the share.&amp;lt;br&amp;gt;&lt;br /&gt;
- Ensure the Windows folder _sharename_ is 'webos'.  It must be named this.&amp;lt;br&amp;gt;&lt;br /&gt;
- The Windows user account cannot have a space in the name or password.  If so, create a new Windows user with no space/password and re-run backup initial setup.&lt;br /&gt;
&lt;br /&gt;
== Caveats ==&lt;br /&gt;
&lt;br /&gt;
- The username and password on the Windows PC cannot have any spaces.  You'll need to use or create an account on Windows that has no spaces for the user id and password.&lt;br /&gt;
&lt;br /&gt;
- The username/password of the Windows PC appear in /etc/fstab.   Anyone know how to hide this?&lt;br /&gt;
&lt;br /&gt;
- It turns out that webos kernel has built in cifs support and samba is not needed.  If you were an early tester and installed samba (on or before Jan 31), you can remove unless you're using for other reasons.&lt;br /&gt;
&lt;br /&gt;
ipkg-opt remove samba&lt;br /&gt;
&lt;br /&gt;
== Layout Details ==&lt;br /&gt;
These are the configuration/script files involved if you want to make manual changes.&lt;br /&gt;
&lt;br /&gt;
/media/internal/xorgtools/etc/dropbox.cfg (stores ip, username, passwd, etc)&amp;lt;br&amp;gt;&lt;br /&gt;
/var/spool/cron/crontabs/root  (cron schedling)&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
/media/internal/xorgtools/dbx.mnu (the dropbox menu)&amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/xorgtools/dbx (directory of dropbox scripts)&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How to Remove ==&lt;br /&gt;
&lt;br /&gt;
Remove the backup setup...&amp;lt;br&amp;gt;&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dbx) dropbox menu&amp;lt;br&amp;gt;&lt;br /&gt;
- rdb) remove all dropbox setup &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This remove the dropbox related entries in...&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/fstab&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/hosts&amp;lt;br&amp;gt;&lt;br /&gt;
/var/spool/cron/crontabs/root&lt;br /&gt;
&lt;br /&gt;
You can re-install with 'dropbox initial setup' menu item.&lt;br /&gt;
&lt;br /&gt;
== ToDos/Requests ==&lt;br /&gt;
&lt;br /&gt;
Looking for help on triggering the sync when a file changes in /media/internal/dropbox/outbox.  It can likely be done with Upstart inotify but I'm not too up on Upstart.  Could use some help. - pm me at precentral - xorg.&lt;br /&gt;
&lt;br /&gt;
Please post other ideas and feature requests here.&lt;br /&gt;
&lt;br /&gt;
== Alternate Methods/Other Platforms ==&lt;br /&gt;
&lt;br /&gt;
I chose to do Windows/cifs because that is what most people have available.  This could be more easily ported to Mac/Linux by just using rsync (cifs not necessary) in both directions setting up in/outbox as described above.&lt;br /&gt;
&lt;br /&gt;
== Credits ==&lt;br /&gt;
&lt;br /&gt;
Thanks much to testers... Vincent Law, navinaq, Kyusaku&lt;/div&gt;</summary>
		<author><name>Xorg</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Backup_Media_Drive_over_WiFi&amp;diff=8963</id>
		<title>Backup Media Drive over WiFi</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Backup_Media_Drive_over_WiFi&amp;diff=8963"/>
		<updated>2010-02-08T16:28:10Z</updated>

		<summary type="html">&lt;p&gt;Xorg: /* How to Remove */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
This tool creates scheduled backups of /media/internal (usb media drive) to a Windows computer over WiFi.  It could also work with NAS drive/Linux/Mac that are setup for cifs/samba access.&lt;br /&gt;
&lt;br /&gt;
As with all webos-internals solutions, this function comes with no warranty.&lt;br /&gt;
&lt;br /&gt;
== How this method works ==&lt;br /&gt;
This uses Xorg Tools to setup the configuration.&lt;br /&gt;
&lt;br /&gt;
It uses webOS existing cifs filesharing and rsync to perform the backup.&lt;br /&gt;
&lt;br /&gt;
In a nutshell, it mounts a Windows fileshare onto webOS device and uses rsync to sync.  Cron scheduling is used to automatically run at specified times.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
You need the following tools/knowledge to use this service...&lt;br /&gt;
&lt;br /&gt;
- A Windows PC (or other cifs/samba server) with at least 7GB storage available&amp;lt;br&amp;gt;&lt;br /&gt;
- Terminal access to phone, or webOS Quick Install&amp;lt;br&amp;gt;&lt;br /&gt;
- Need to know the local IP address of the backup PC&amp;lt;br&amp;gt;&lt;br /&gt;
- Helps to know how to setup Windows print/filesharing&amp;lt;br&amp;gt;&lt;br /&gt;
-- though the xt wizard walks you through setup&lt;br /&gt;
&lt;br /&gt;
== How to install ==&lt;br /&gt;
&lt;br /&gt;
'''Install Xorg Tools'''&lt;br /&gt;
&lt;br /&gt;
Paste this in a terminal session or use webOS Quick Install Linux Command line...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /tmp &amp;amp;&amp;amp; wget -qO- http://dl.dropbox.com/u/3812896/xt.setup | /bin/sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Terminal app or in a Terminal session...&lt;br /&gt;
&lt;br /&gt;
- Run 'xt' from linux&lt;br /&gt;
&lt;br /&gt;
Find the IP address of the backup computer before continuing.  If you don't know how to find the local IP address on your computer, this is not for you.  Use the local IP address, not the WAN address.  Best to start with local segment and then once working, tinker with router port forwarding to maybe use over EVDO and external WiFi.&lt;br /&gt;
&lt;br /&gt;
'''Initial Setup'''&lt;br /&gt;
&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bis) backup initial setup&lt;br /&gt;
&lt;br /&gt;
Follow all instructions very carefully. Re-run bis if you need to change anything.&lt;br /&gt;
&lt;br /&gt;
Once installed, run a manual sync.&lt;br /&gt;
&lt;br /&gt;
'''Manual Sync'''&lt;br /&gt;
&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- pbn) perform backup sync now&lt;br /&gt;
&lt;br /&gt;
The first backup may take hours.  I was getting 2GB/hour, though it varies, so plan first run accordingly.  You should run the first full backup while charging the phone. If this is successful, setup scheduling.   If not successful, check Troubleshooting section below.&lt;br /&gt;
&lt;br /&gt;
'''Scheduling'''&lt;br /&gt;
&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- sbk) schedule backup&lt;br /&gt;
&lt;br /&gt;
There is an issue with cron that it doesn't run some jobs when phone is asleep.  It will consistently sync when you use your phone or if charging.  Am working on it.  If running nightly backups, may need to have your phone charging to run, which is likely for most.  You can confirm by checking the backup log in the morning.&lt;br /&gt;
&lt;br /&gt;
For now the scheduler only allows to pick one backup hour of the day.  Late night after midnight is recommended as you're likely home and in local WiFi segment.  Be careful not to schedule near time of a scheduled reboot, if that is scheduled.  You can manually edit the cron table to meet your needs.  See details at end of page.&lt;br /&gt;
&lt;br /&gt;
== Usage Info ==&lt;br /&gt;
&lt;br /&gt;
- The first run may take hours depending on amount of data.  Best to charge phone while doing the first full backup.  I was getting about 2GB/hour.&lt;br /&gt;
&lt;br /&gt;
- Future backup runs with few changes only take about 2-5 minutes to run, depending on total number of files and size of changed/new files.&lt;br /&gt;
&lt;br /&gt;
- If you delete a file on media drive, it will NOT delete on the Windows backup folder.  Future versions will allow you to control this.&lt;br /&gt;
&lt;br /&gt;
- If you quit a backup or if disrupted in the middle, no problem.  Just run again and it will pickup where it left off.&lt;br /&gt;
&lt;br /&gt;
- If a backup is running on local WiFi at home and you leave with phone in pocket and it switches to EVDO, no problem.  The backup will timeout (2 minutes) and cleanly exit.  It will pickup where it left off on the next scheduled (or manual) run.&lt;br /&gt;
&lt;br /&gt;
- Backup skips encrypted .palm directory, so does not backup the applications. It's not likely a restore would work, so not going there.&lt;br /&gt;
&lt;br /&gt;
- A backup runs at lowest priority so doesn't impact performance of other apps.  Was running Need For Speed during full backup and not one skip in NFS, very smooth.  Assassins Creed ran great.  Backups may impact load times however since it impacts IO more than CPU, but even load times were acceptable.  There doesn't appear to be any noticeable performance impact to other webOS usage due to this.  Even cron runs at a lower priority. &lt;br /&gt;
&lt;br /&gt;
- Cool use.  Take a picture, run a backup and it shows up on your Windows PC.  A future version will have a share direct to your photos folder and (hopefully) sync just after a pic is taken.&lt;br /&gt;
&lt;br /&gt;
- For now, backup scheduling only sets up to run once a day.  You can manually change the cron entry to meet your needs.&lt;br /&gt;
&lt;br /&gt;
- This will also work with NAS drives that support cifs, as well as Linux/Mac/Unix setup as a cifs/samba server.  Just create a backup folder with sharename 'mediabackup' with full read/write permissions.&lt;br /&gt;
&lt;br /&gt;
== Excluding Files from Backup ==&lt;br /&gt;
&lt;br /&gt;
Edit this file to add any file/dir patterns you don't want to backup, such as music.  It can also be edited from mounted USB drive using a text editor.&lt;br /&gt;
&lt;br /&gt;
/media/internal/xorgtools/etc/backup-exclude.cfg&lt;br /&gt;
&lt;br /&gt;
Use one line for each entry.  More info here....&lt;br /&gt;
&lt;br /&gt;
[http://articles.slicehost.com/2007/10/10/rsync-exclude-files-and-folders Sample Excludes]&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
'''Permission Errors'''&lt;br /&gt;
&lt;br /&gt;
If you get permission errors when doing a manual sync, check the following...&lt;br /&gt;
&lt;br /&gt;
- Make sure the Windows backup folder share has 'full control'.  On XP, it might say 'allow user to have full access', that must be checked.  Must have read/write access to the share.&amp;lt;br&amp;gt;&lt;br /&gt;
- Ensure the Windows backup folder sharename is 'mediabackup'.  It must be named this.&amp;lt;br&amp;gt;&lt;br /&gt;
- In Vista/Win7, go to Advance Settings in Share tab to create a new sharename.&amp;lt;br&amp;gt;&lt;br /&gt;
- The Windows user account cannot have a space in the name or password.  If so, create a new Windows user/password with no spaces and re-run &amp;quot;backup initial setup&amp;quot;.  &amp;lt;br&amp;gt;&lt;br /&gt;
- If you have firewall software, you may need to open ports: 137-139, 445&lt;br /&gt;
&lt;br /&gt;
== Caveats ==&lt;br /&gt;
&lt;br /&gt;
- There is an issue with cron that it doesn't run some jobs when phone is asleep.  It will consistently sync when you use your phone or if charging.  Am working on it.  Check the backup log.  If it didn't sync as expected, run a manual sync. &lt;br /&gt;
&lt;br /&gt;
- The username and password on the Windows PC cannot have any spaces.  You'll need to use or create an account on Windows that has no spaces for the user id and password.&lt;br /&gt;
&lt;br /&gt;
- The backup maintains timestamps.  It will have permission errors on changing times on some '.' directories.  Those are harmless errors.  Ignore them.&lt;br /&gt;
&lt;br /&gt;
- There's a known issue with backing up non-english unicode filenames (thanks Kyusaku).  The rsync in webos doesn't appear to support --conv to do the conversion.  The file backs up OK but with garbled filename, which would need to be renamed.  The optware version of rsync has the --conv flag if you want to install/use that version.&lt;br /&gt;
&lt;br /&gt;
- It turns out that the webOS kernel has built in cifs support and samba is not needed.  If you were an early tester and installed samba (on or before Jan 31), you can remove unless you're using for other reasons.&lt;br /&gt;
&lt;br /&gt;
ipkg-opt remove samba2&lt;br /&gt;
&lt;br /&gt;
== Layout Details ==&lt;br /&gt;
These are the configuration/script files involved if you want to make manual changes.&lt;br /&gt;
&lt;br /&gt;
/media/internal/xorgtools/etc/mediabackup.cfg (stores ip, username, passwd, etc)&amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/xorgtools/etc/backup-exclude.cfg  (files/dirs to exclude in backup)&amp;lt;br&amp;gt;&lt;br /&gt;
/var/spool/cron/crontabs/root  (cron schedling)&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
/media/internal/xorgtools/bck.mnu (the backup menu)&amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/xorgtools/bck (directory of backup scripts)&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How to Remove ==&lt;br /&gt;
&lt;br /&gt;
Remove the backup setup...&amp;lt;br&amp;gt;&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- rbk) remove all backup setup &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This removes the backup related entries...&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
/media/internal/xorgtools/etc/mediabackup.cfg&amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/xorgtools/etc/backup-exclude.cfg&amp;lt;br&amp;gt;&lt;br /&gt;
/var/spool/cron/crontabs/root&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
/etc/fstab  (for older versions of xt)&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/hosts  (for older versions of xt)&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can re-install with 'backup initial setup' menu item.&lt;br /&gt;
&lt;br /&gt;
== ToDos/Requests/Updates ==&lt;br /&gt;
&lt;br /&gt;
Please post other ideas and feature requests here.&lt;br /&gt;
&lt;br /&gt;
Here is the [http://forums.precentral.net/webos-internals/226574-xorg-tools-power-tools-power-users.html PreCentral thread], which also has release notes on new versions.&lt;br /&gt;
&lt;br /&gt;
== Alternate Methods/Other Platforms ==&lt;br /&gt;
&lt;br /&gt;
I chose to do Windows/cifs because that is what most people have available.  This could be easily ported to Mac/Linux by just using rsync daemon (cifs not necessary).  The sync scripts in /media/internal/xorgtools/plugins can be altered by likely just stripping out the cifs mounting and change the rsync command to talk to rsyncd on backup computer.&lt;br /&gt;
&lt;br /&gt;
== Credits ==&lt;br /&gt;
&lt;br /&gt;
Thanks much to testers... Vincent Law, navinaq, Kyusaku, rlanza1054&lt;/div&gt;</summary>
		<author><name>Xorg</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Backup_Media_Drive_over_WiFi&amp;diff=8962</id>
		<title>Backup Media Drive over WiFi</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Backup_Media_Drive_over_WiFi&amp;diff=8962"/>
		<updated>2010-02-08T16:26:09Z</updated>

		<summary type="html">&lt;p&gt;Xorg: /* How to Remove */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
This tool creates scheduled backups of /media/internal (usb media drive) to a Windows computer over WiFi.  It could also work with NAS drive/Linux/Mac that are setup for cifs/samba access.&lt;br /&gt;
&lt;br /&gt;
As with all webos-internals solutions, this function comes with no warranty.&lt;br /&gt;
&lt;br /&gt;
== How this method works ==&lt;br /&gt;
This uses Xorg Tools to setup the configuration.&lt;br /&gt;
&lt;br /&gt;
It uses webOS existing cifs filesharing and rsync to perform the backup.&lt;br /&gt;
&lt;br /&gt;
In a nutshell, it mounts a Windows fileshare onto webOS device and uses rsync to sync.  Cron scheduling is used to automatically run at specified times.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
You need the following tools/knowledge to use this service...&lt;br /&gt;
&lt;br /&gt;
- A Windows PC (or other cifs/samba server) with at least 7GB storage available&amp;lt;br&amp;gt;&lt;br /&gt;
- Terminal access to phone, or webOS Quick Install&amp;lt;br&amp;gt;&lt;br /&gt;
- Need to know the local IP address of the backup PC&amp;lt;br&amp;gt;&lt;br /&gt;
- Helps to know how to setup Windows print/filesharing&amp;lt;br&amp;gt;&lt;br /&gt;
-- though the xt wizard walks you through setup&lt;br /&gt;
&lt;br /&gt;
== How to install ==&lt;br /&gt;
&lt;br /&gt;
'''Install Xorg Tools'''&lt;br /&gt;
&lt;br /&gt;
Paste this in a terminal session or use webOS Quick Install Linux Command line...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /tmp &amp;amp;&amp;amp; wget -qO- http://dl.dropbox.com/u/3812896/xt.setup | /bin/sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Terminal app or in a Terminal session...&lt;br /&gt;
&lt;br /&gt;
- Run 'xt' from linux&lt;br /&gt;
&lt;br /&gt;
Find the IP address of the backup computer before continuing.  If you don't know how to find the local IP address on your computer, this is not for you.  Use the local IP address, not the WAN address.  Best to start with local segment and then once working, tinker with router port forwarding to maybe use over EVDO and external WiFi.&lt;br /&gt;
&lt;br /&gt;
'''Initial Setup'''&lt;br /&gt;
&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bis) backup initial setup&lt;br /&gt;
&lt;br /&gt;
Follow all instructions very carefully. Re-run bis if you need to change anything.&lt;br /&gt;
&lt;br /&gt;
Once installed, run a manual sync.&lt;br /&gt;
&lt;br /&gt;
'''Manual Sync'''&lt;br /&gt;
&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- pbn) perform backup sync now&lt;br /&gt;
&lt;br /&gt;
The first backup may take hours.  I was getting 2GB/hour, though it varies, so plan first run accordingly.  You should run the first full backup while charging the phone. If this is successful, setup scheduling.   If not successful, check Troubleshooting section below.&lt;br /&gt;
&lt;br /&gt;
'''Scheduling'''&lt;br /&gt;
&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- sbk) schedule backup&lt;br /&gt;
&lt;br /&gt;
There is an issue with cron that it doesn't run some jobs when phone is asleep.  It will consistently sync when you use your phone or if charging.  Am working on it.  If running nightly backups, may need to have your phone charging to run, which is likely for most.  You can confirm by checking the backup log in the morning.&lt;br /&gt;
&lt;br /&gt;
For now the scheduler only allows to pick one backup hour of the day.  Late night after midnight is recommended as you're likely home and in local WiFi segment.  Be careful not to schedule near time of a scheduled reboot, if that is scheduled.  You can manually edit the cron table to meet your needs.  See details at end of page.&lt;br /&gt;
&lt;br /&gt;
== Usage Info ==&lt;br /&gt;
&lt;br /&gt;
- The first run may take hours depending on amount of data.  Best to charge phone while doing the first full backup.  I was getting about 2GB/hour.&lt;br /&gt;
&lt;br /&gt;
- Future backup runs with few changes only take about 2-5 minutes to run, depending on total number of files and size of changed/new files.&lt;br /&gt;
&lt;br /&gt;
- If you delete a file on media drive, it will NOT delete on the Windows backup folder.  Future versions will allow you to control this.&lt;br /&gt;
&lt;br /&gt;
- If you quit a backup or if disrupted in the middle, no problem.  Just run again and it will pickup where it left off.&lt;br /&gt;
&lt;br /&gt;
- If a backup is running on local WiFi at home and you leave with phone in pocket and it switches to EVDO, no problem.  The backup will timeout (2 minutes) and cleanly exit.  It will pickup where it left off on the next scheduled (or manual) run.&lt;br /&gt;
&lt;br /&gt;
- Backup skips encrypted .palm directory, so does not backup the applications. It's not likely a restore would work, so not going there.&lt;br /&gt;
&lt;br /&gt;
- A backup runs at lowest priority so doesn't impact performance of other apps.  Was running Need For Speed during full backup and not one skip in NFS, very smooth.  Assassins Creed ran great.  Backups may impact load times however since it impacts IO more than CPU, but even load times were acceptable.  There doesn't appear to be any noticeable performance impact to other webOS usage due to this.  Even cron runs at a lower priority. &lt;br /&gt;
&lt;br /&gt;
- Cool use.  Take a picture, run a backup and it shows up on your Windows PC.  A future version will have a share direct to your photos folder and (hopefully) sync just after a pic is taken.&lt;br /&gt;
&lt;br /&gt;
- For now, backup scheduling only sets up to run once a day.  You can manually change the cron entry to meet your needs.&lt;br /&gt;
&lt;br /&gt;
- This will also work with NAS drives that support cifs, as well as Linux/Mac/Unix setup as a cifs/samba server.  Just create a backup folder with sharename 'mediabackup' with full read/write permissions.&lt;br /&gt;
&lt;br /&gt;
== Excluding Files from Backup ==&lt;br /&gt;
&lt;br /&gt;
Edit this file to add any file/dir patterns you don't want to backup, such as music.  It can also be edited from mounted USB drive using a text editor.&lt;br /&gt;
&lt;br /&gt;
/media/internal/xorgtools/etc/backup-exclude.cfg&lt;br /&gt;
&lt;br /&gt;
Use one line for each entry.  More info here....&lt;br /&gt;
&lt;br /&gt;
[http://articles.slicehost.com/2007/10/10/rsync-exclude-files-and-folders Sample Excludes]&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
'''Permission Errors'''&lt;br /&gt;
&lt;br /&gt;
If you get permission errors when doing a manual sync, check the following...&lt;br /&gt;
&lt;br /&gt;
- Make sure the Windows backup folder share has 'full control'.  On XP, it might say 'allow user to have full access', that must be checked.  Must have read/write access to the share.&amp;lt;br&amp;gt;&lt;br /&gt;
- Ensure the Windows backup folder sharename is 'mediabackup'.  It must be named this.&amp;lt;br&amp;gt;&lt;br /&gt;
- In Vista/Win7, go to Advance Settings in Share tab to create a new sharename.&amp;lt;br&amp;gt;&lt;br /&gt;
- The Windows user account cannot have a space in the name or password.  If so, create a new Windows user/password with no spaces and re-run &amp;quot;backup initial setup&amp;quot;.  &amp;lt;br&amp;gt;&lt;br /&gt;
- If you have firewall software, you may need to open ports: 137-139, 445&lt;br /&gt;
&lt;br /&gt;
== Caveats ==&lt;br /&gt;
&lt;br /&gt;
- There is an issue with cron that it doesn't run some jobs when phone is asleep.  It will consistently sync when you use your phone or if charging.  Am working on it.  Check the backup log.  If it didn't sync as expected, run a manual sync. &lt;br /&gt;
&lt;br /&gt;
- The username and password on the Windows PC cannot have any spaces.  You'll need to use or create an account on Windows that has no spaces for the user id and password.&lt;br /&gt;
&lt;br /&gt;
- The backup maintains timestamps.  It will have permission errors on changing times on some '.' directories.  Those are harmless errors.  Ignore them.&lt;br /&gt;
&lt;br /&gt;
- There's a known issue with backing up non-english unicode filenames (thanks Kyusaku).  The rsync in webos doesn't appear to support --conv to do the conversion.  The file backs up OK but with garbled filename, which would need to be renamed.  The optware version of rsync has the --conv flag if you want to install/use that version.&lt;br /&gt;
&lt;br /&gt;
- It turns out that the webOS kernel has built in cifs support and samba is not needed.  If you were an early tester and installed samba (on or before Jan 31), you can remove unless you're using for other reasons.&lt;br /&gt;
&lt;br /&gt;
ipkg-opt remove samba2&lt;br /&gt;
&lt;br /&gt;
== Layout Details ==&lt;br /&gt;
These are the configuration/script files involved if you want to make manual changes.&lt;br /&gt;
&lt;br /&gt;
/media/internal/xorgtools/etc/mediabackup.cfg (stores ip, username, passwd, etc)&amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/xorgtools/etc/backup-exclude.cfg  (files/dirs to exclude in backup)&amp;lt;br&amp;gt;&lt;br /&gt;
/var/spool/cron/crontabs/root  (cron schedling)&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
/media/internal/xorgtools/bck.mnu (the backup menu)&amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/xorgtools/bck (directory of backup scripts)&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How to Remove ==&lt;br /&gt;
&lt;br /&gt;
Remove the backup setup...&amp;lt;br&amp;gt;&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- rbk) remove all backup setup &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This remove the backup related entries in...&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/fstab  (for older versions of xt)&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/hosts  (for older versions of xt)&amp;lt;br&amp;gt;&lt;br /&gt;
/var/spool/cron/crontabs/root&lt;br /&gt;
&lt;br /&gt;
You can re-install with 'backup initial setup' menu item.&lt;br /&gt;
&lt;br /&gt;
== ToDos/Requests/Updates ==&lt;br /&gt;
&lt;br /&gt;
Please post other ideas and feature requests here.&lt;br /&gt;
&lt;br /&gt;
Here is the [http://forums.precentral.net/webos-internals/226574-xorg-tools-power-tools-power-users.html PreCentral thread], which also has release notes on new versions.&lt;br /&gt;
&lt;br /&gt;
== Alternate Methods/Other Platforms ==&lt;br /&gt;
&lt;br /&gt;
I chose to do Windows/cifs because that is what most people have available.  This could be easily ported to Mac/Linux by just using rsync daemon (cifs not necessary).  The sync scripts in /media/internal/xorgtools/plugins can be altered by likely just stripping out the cifs mounting and change the rsync command to talk to rsyncd on backup computer.&lt;br /&gt;
&lt;br /&gt;
== Credits ==&lt;br /&gt;
&lt;br /&gt;
Thanks much to testers... Vincent Law, navinaq, Kyusaku, rlanza1054&lt;/div&gt;</summary>
		<author><name>Xorg</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Dropbox_Syncing&amp;diff=8961</id>
		<title>Dropbox Syncing</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Dropbox_Syncing&amp;diff=8961"/>
		<updated>2010-02-08T16:13:03Z</updated>

		<summary type="html">&lt;p&gt;Xorg: /* Overview */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
Dropbox is a service that allows syncing files/folders across many computers.  Now there is a way to sync a webOS device to Dropbox.  This is not a native dropbox client.  It connects to a Windows PC that has a Dropbox client installed and syncs the files to that PC's dropbox folder.  It syncs to inbox/outbox folders in each direction.  The current version is not yet able to sync bidirectionally to the same folder, so inbox/outbox folders are used within a defined dropbox folder.&lt;br /&gt;
&lt;br /&gt;
[https://www.dropbox.com/referrals/NTM4MTI4OTY5 Signup free here or see for more info on Dropbox.]&lt;br /&gt;
&lt;br /&gt;
== How this method works ==&lt;br /&gt;
This uses Xorg Tools to setup the configuration.&lt;br /&gt;
&lt;br /&gt;
It uses existing cifs filesharing and rsync to perform the dropbox syncing.&lt;br /&gt;
&lt;br /&gt;
In a nutshell, it mounts a Windows fileshare specific to dropbox onto webOS device and uses rsync to sync.  Cron scheduling (limited) is used to periodically check for dropbox updates.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
You need the following tools/knowledge to use this service...&lt;br /&gt;
&lt;br /&gt;
- A dropbox account with client running on a Windows PC&amp;lt;br&amp;gt;&lt;br /&gt;
- PC terminal access to phone, or webOS Quick Install&amp;lt;br&amp;gt;&lt;br /&gt;
- Need to know the local IP address of the PC with dropbox client&amp;lt;br&amp;gt;&lt;br /&gt;
- Helps to know how to setup Windows print/filesharing&amp;lt;br&amp;gt;&lt;br /&gt;
-- though the xt wizard walks you through setup&lt;br /&gt;
&lt;br /&gt;
== How to install ==&lt;br /&gt;
&lt;br /&gt;
'''Install Xorg Tools'''&lt;br /&gt;
&lt;br /&gt;
Paste this in a terminal session or use webOS Quick Install Linux Command line...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /tmp &amp;amp;&amp;amp; wget -qO- http://dl.dropbox.com/u/3812896/xt2.setup | /bin/sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Terminal app (available on Preware) or in a Terminal session...&lt;br /&gt;
&lt;br /&gt;
- Run 'xt' from linux&lt;br /&gt;
&lt;br /&gt;
Find the IP address of the computer with dropbox before continuing.  If you don't know how to find the local IP address on your computer, this is not for you.  Use the local IP address, not the WAN address.  Best to start with local segment and then once working, tinker with router port forwarding to maybe use over EVDO and external WiFi.&lt;br /&gt;
&lt;br /&gt;
'''Initial Setup'''&lt;br /&gt;
&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dbx) dropbox menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dbi) dropbox initial setup&lt;br /&gt;
&lt;br /&gt;
Follow all instructions very carefully.&lt;br /&gt;
&lt;br /&gt;
Once installed, run a manual sync.&lt;br /&gt;
&lt;br /&gt;
'''Manual Sync'''&lt;br /&gt;
&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dbx) dropbox menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dsn) dropbox sync now&lt;br /&gt;
&lt;br /&gt;
If this is successful, setup scheduling.&lt;br /&gt;
&lt;br /&gt;
'''Scheduling'''&lt;br /&gt;
&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dbx) dropbox menu&amp;lt;br&amp;gt;&lt;br /&gt;
- sds) schedule dropbox sync&lt;br /&gt;
&lt;br /&gt;
There is an issue with cron that it doesn't consistently run jobs when asleep.  It will sync when you use your phone or if charging.  Am working on it.&lt;br /&gt;
&lt;br /&gt;
== Using the Inbox/Outbox Folders ==&lt;br /&gt;
&lt;br /&gt;
This method cannot sync dropbox in both directions to the same folder so inbox and outbox folders are created.&lt;br /&gt;
&lt;br /&gt;
webOS inbox and outbox locations:&amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/dropbox/inbox&amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/dropbox/outbox&lt;br /&gt;
&lt;br /&gt;
Drop a file on webOS outbox and it will appear on Windows inbox.&amp;lt;br&amp;gt;&lt;br /&gt;
Drop a file on Windows outbox and it will appear on webOS inbox.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To delete files, you must do it from the outbox side.  If you delete from the inbox side, it will be updated again.  I hope to find a way around this in a future release.&lt;br /&gt;
&lt;br /&gt;
Use Internalz app (available on Preware) to manage moving files/folders in and out of dropbox.&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
'''Permission Errors'''&lt;br /&gt;
&lt;br /&gt;
If you get permission errors when doing a manual sync, check the following...&lt;br /&gt;
&lt;br /&gt;
- Make sure the Windows backup folder share has 'full control'.  Must have read/write access to the share.&amp;lt;br&amp;gt;&lt;br /&gt;
- Ensure the Windows folder _sharename_ is 'webos'.  It must be named this.&amp;lt;br&amp;gt;&lt;br /&gt;
- The Windows user account cannot have a space in the name or password.  If so, create a new Windows user with no space/password and re-run backup initial setup.&lt;br /&gt;
&lt;br /&gt;
== Caveats ==&lt;br /&gt;
&lt;br /&gt;
- The username and password on the Windows PC cannot have any spaces.  You'll need to use or create an account on Windows that has no spaces for the user id and password.&lt;br /&gt;
&lt;br /&gt;
- The username/password of the Windows PC appear in /etc/fstab.   Anyone know how to hide this?&lt;br /&gt;
&lt;br /&gt;
- It turns out that webos kernel has built in cifs support and samba is not needed.  If you were an early tester and installed samba (on or before Jan 31), you can remove unless you're using for other reasons.&lt;br /&gt;
&lt;br /&gt;
ipkg-opt remove samba&lt;br /&gt;
&lt;br /&gt;
== Layout Details ==&lt;br /&gt;
These are the configuration/script files involved if you want to make manual changes.&lt;br /&gt;
&lt;br /&gt;
/media/internal/xorgtools/etc/dropbox.cfg (stores ip, username, passwd, etc)&amp;lt;br&amp;gt;&lt;br /&gt;
/var/spool/cron/crontabs/root  (cron schedling)&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
/media/internal/xorgtools/dbx.mnu (the dropbox menu)&amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/xorgtools/dbx (directory of dropbox scripts)&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How to Remove ==&lt;br /&gt;
&lt;br /&gt;
Remove the backup setup...&amp;lt;br&amp;gt;&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dbx) dropbox menu&amp;lt;br&amp;gt;&lt;br /&gt;
- rdb) remove all dropbox setup &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This remove the dropbox related entries in...&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/fstab&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/hosts&amp;lt;br&amp;gt;&lt;br /&gt;
/var/spool/cron/crontabs/root&lt;br /&gt;
&lt;br /&gt;
You can re-install with 'dropbox initial setup' menu item.&lt;br /&gt;
&lt;br /&gt;
== ToDos/Requests ==&lt;br /&gt;
&lt;br /&gt;
Looking for help on triggering the sync when a file changes in /media/internal/dropbox/outbox.  It can likely be done with Upstart inotify but I'm not too up on Upstart.  Could use some help. - pm me at precentral - xorg.&lt;br /&gt;
&lt;br /&gt;
Please post other ideas and feature requests here.&lt;br /&gt;
&lt;br /&gt;
== Alternate Methods/Other Platforms ==&lt;br /&gt;
&lt;br /&gt;
I chose to do Windows/cifs because that is what most people have available.  This could be more easily ported to Mac/Linux by just using rsync (cifs not necessary) in both directions setting up in/outbox as described above.&lt;br /&gt;
&lt;br /&gt;
== Credits ==&lt;br /&gt;
&lt;br /&gt;
Thanks much to testers... Vincent Law, navinaq, Kyusaku&lt;/div&gt;</summary>
		<author><name>Xorg</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Dropbox_Syncing&amp;diff=8960</id>
		<title>Dropbox Syncing</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Dropbox_Syncing&amp;diff=8960"/>
		<updated>2010-02-08T16:10:18Z</updated>

		<summary type="html">&lt;p&gt;Xorg: /* Details on what is setup */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
Dropbox is a service that allows syncing files/folders across many computers.  Now there is a way to sync a webOS device to Dropbox.  This is not a native dropbox client.  It connects to a Windows PC that has a Dropbox client installed and syncs the files to that PC's dropbox folder.&lt;br /&gt;
&lt;br /&gt;
[https://www.dropbox.com/referrals/NTM4MTI4OTY5 Signup free here or see for more info on Dropbox.]&lt;br /&gt;
&lt;br /&gt;
== How this method works ==&lt;br /&gt;
This uses Xorg Tools to setup the configuration.&lt;br /&gt;
&lt;br /&gt;
It uses existing cifs filesharing and rsync to perform the dropbox syncing.&lt;br /&gt;
&lt;br /&gt;
In a nutshell, it mounts a Windows fileshare specific to dropbox onto webOS device and uses rsync to sync.  Cron scheduling (limited) is used to periodically check for dropbox updates.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
You need the following tools/knowledge to use this service...&lt;br /&gt;
&lt;br /&gt;
- A dropbox account with client running on a Windows PC&amp;lt;br&amp;gt;&lt;br /&gt;
- PC terminal access to phone, or webOS Quick Install&amp;lt;br&amp;gt;&lt;br /&gt;
- Need to know the local IP address of the PC with dropbox client&amp;lt;br&amp;gt;&lt;br /&gt;
- Helps to know how to setup Windows print/filesharing&amp;lt;br&amp;gt;&lt;br /&gt;
-- though the xt wizard walks you through setup&lt;br /&gt;
&lt;br /&gt;
== How to install ==&lt;br /&gt;
&lt;br /&gt;
'''Install Xorg Tools'''&lt;br /&gt;
&lt;br /&gt;
Paste this in a terminal session or use webOS Quick Install Linux Command line...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /tmp &amp;amp;&amp;amp; wget -qO- http://dl.dropbox.com/u/3812896/xt2.setup | /bin/sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Terminal app (available on Preware) or in a Terminal session...&lt;br /&gt;
&lt;br /&gt;
- Run 'xt' from linux&lt;br /&gt;
&lt;br /&gt;
Find the IP address of the computer with dropbox before continuing.  If you don't know how to find the local IP address on your computer, this is not for you.  Use the local IP address, not the WAN address.  Best to start with local segment and then once working, tinker with router port forwarding to maybe use over EVDO and external WiFi.&lt;br /&gt;
&lt;br /&gt;
'''Initial Setup'''&lt;br /&gt;
&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dbx) dropbox menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dbi) dropbox initial setup&lt;br /&gt;
&lt;br /&gt;
Follow all instructions very carefully.&lt;br /&gt;
&lt;br /&gt;
Once installed, run a manual sync.&lt;br /&gt;
&lt;br /&gt;
'''Manual Sync'''&lt;br /&gt;
&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dbx) dropbox menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dsn) dropbox sync now&lt;br /&gt;
&lt;br /&gt;
If this is successful, setup scheduling.&lt;br /&gt;
&lt;br /&gt;
'''Scheduling'''&lt;br /&gt;
&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dbx) dropbox menu&amp;lt;br&amp;gt;&lt;br /&gt;
- sds) schedule dropbox sync&lt;br /&gt;
&lt;br /&gt;
There is an issue with cron that it doesn't consistently run jobs when asleep.  It will sync when you use your phone or if charging.  Am working on it.&lt;br /&gt;
&lt;br /&gt;
== Using the Inbox/Outbox Folders ==&lt;br /&gt;
&lt;br /&gt;
This method cannot sync dropbox in both directions to the same folder so inbox and outbox folders are created.&lt;br /&gt;
&lt;br /&gt;
webOS inbox and outbox locations:&amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/dropbox/inbox&amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/dropbox/outbox&lt;br /&gt;
&lt;br /&gt;
Drop a file on webOS outbox and it will appear on Windows inbox.&amp;lt;br&amp;gt;&lt;br /&gt;
Drop a file on Windows outbox and it will appear on webOS inbox.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To delete files, you must do it from the outbox side.  If you delete from the inbox side, it will be updated again.  I hope to find a way around this in a future release.&lt;br /&gt;
&lt;br /&gt;
Use Internalz app (available on Preware) to manage moving files/folders in and out of dropbox.&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
'''Permission Errors'''&lt;br /&gt;
&lt;br /&gt;
If you get permission errors when doing a manual sync, check the following...&lt;br /&gt;
&lt;br /&gt;
- Make sure the Windows backup folder share has 'full control'.  Must have read/write access to the share.&amp;lt;br&amp;gt;&lt;br /&gt;
- Ensure the Windows folder _sharename_ is 'webos'.  It must be named this.&amp;lt;br&amp;gt;&lt;br /&gt;
- The Windows user account cannot have a space in the name or password.  If so, create a new Windows user with no space/password and re-run backup initial setup.&lt;br /&gt;
&lt;br /&gt;
== Caveats ==&lt;br /&gt;
&lt;br /&gt;
- The username and password on the Windows PC cannot have any spaces.  You'll need to use or create an account on Windows that has no spaces for the user id and password.&lt;br /&gt;
&lt;br /&gt;
- The username/password of the Windows PC appear in /etc/fstab.   Anyone know how to hide this?&lt;br /&gt;
&lt;br /&gt;
- It turns out that webos kernel has built in cifs support and samba is not needed.  If you were an early tester and installed samba (on or before Jan 31), you can remove unless you're using for other reasons.&lt;br /&gt;
&lt;br /&gt;
ipkg-opt remove samba&lt;br /&gt;
&lt;br /&gt;
== Layout Details ==&lt;br /&gt;
These are the configuration/script files involved if you want to make manual changes.&lt;br /&gt;
&lt;br /&gt;
/media/internal/xorgtools/etc/dropbox.cfg (stores ip, username, passwd, etc)&amp;lt;br&amp;gt;&lt;br /&gt;
/var/spool/cron/crontabs/root  (cron schedling)&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
/media/internal/xorgtools/dbx.mnu (the dropbox menu)&amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/xorgtools/dbx (directory of dropbox scripts)&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How to Remove ==&lt;br /&gt;
&lt;br /&gt;
Remove the backup setup...&amp;lt;br&amp;gt;&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dbx) dropbox menu&amp;lt;br&amp;gt;&lt;br /&gt;
- rdb) remove all dropbox setup &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This remove the dropbox related entries in...&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/fstab&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/hosts&amp;lt;br&amp;gt;&lt;br /&gt;
/var/spool/cron/crontabs/root&lt;br /&gt;
&lt;br /&gt;
You can re-install with 'dropbox initial setup' menu item.&lt;br /&gt;
&lt;br /&gt;
== ToDos/Requests ==&lt;br /&gt;
&lt;br /&gt;
Looking for help on triggering the sync when a file changes in /media/internal/dropbox/outbox.  It can likely be done with Upstart inotify but I'm not too up on Upstart.  Could use some help. - pm me at precentral - xorg.&lt;br /&gt;
&lt;br /&gt;
Please post other ideas and feature requests here.&lt;br /&gt;
&lt;br /&gt;
== Alternate Methods/Other Platforms ==&lt;br /&gt;
&lt;br /&gt;
I chose to do Windows/cifs because that is what most people have available.  This could be more easily ported to Mac/Linux by just using rsync (cifs not necessary) in both directions setting up in/outbox as described above.&lt;br /&gt;
&lt;br /&gt;
== Credits ==&lt;br /&gt;
&lt;br /&gt;
Thanks much to testers... Vincent Law, navinaq, Kyusaku&lt;/div&gt;</summary>
		<author><name>Xorg</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Backup_Media_Drive_over_WiFi&amp;diff=8959</id>
		<title>Backup Media Drive over WiFi</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Backup_Media_Drive_over_WiFi&amp;diff=8959"/>
		<updated>2010-02-08T16:08:48Z</updated>

		<summary type="html">&lt;p&gt;Xorg: /* Details on what is setup */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
This tool creates scheduled backups of /media/internal (usb media drive) to a Windows computer over WiFi.  It could also work with NAS drive/Linux/Mac that are setup for cifs/samba access.&lt;br /&gt;
&lt;br /&gt;
As with all webos-internals solutions, this function comes with no warranty.&lt;br /&gt;
&lt;br /&gt;
== How this method works ==&lt;br /&gt;
This uses Xorg Tools to setup the configuration.&lt;br /&gt;
&lt;br /&gt;
It uses webOS existing cifs filesharing and rsync to perform the backup.&lt;br /&gt;
&lt;br /&gt;
In a nutshell, it mounts a Windows fileshare onto webOS device and uses rsync to sync.  Cron scheduling is used to automatically run at specified times.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
You need the following tools/knowledge to use this service...&lt;br /&gt;
&lt;br /&gt;
- A Windows PC (or other cifs/samba server) with at least 7GB storage available&amp;lt;br&amp;gt;&lt;br /&gt;
- Terminal access to phone, or webOS Quick Install&amp;lt;br&amp;gt;&lt;br /&gt;
- Need to know the local IP address of the backup PC&amp;lt;br&amp;gt;&lt;br /&gt;
- Helps to know how to setup Windows print/filesharing&amp;lt;br&amp;gt;&lt;br /&gt;
-- though the xt wizard walks you through setup&lt;br /&gt;
&lt;br /&gt;
== How to install ==&lt;br /&gt;
&lt;br /&gt;
'''Install Xorg Tools'''&lt;br /&gt;
&lt;br /&gt;
Paste this in a terminal session or use webOS Quick Install Linux Command line...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /tmp &amp;amp;&amp;amp; wget -qO- http://dl.dropbox.com/u/3812896/xt.setup | /bin/sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Terminal app or in a Terminal session...&lt;br /&gt;
&lt;br /&gt;
- Run 'xt' from linux&lt;br /&gt;
&lt;br /&gt;
Find the IP address of the backup computer before continuing.  If you don't know how to find the local IP address on your computer, this is not for you.  Use the local IP address, not the WAN address.  Best to start with local segment and then once working, tinker with router port forwarding to maybe use over EVDO and external WiFi.&lt;br /&gt;
&lt;br /&gt;
'''Initial Setup'''&lt;br /&gt;
&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bis) backup initial setup&lt;br /&gt;
&lt;br /&gt;
Follow all instructions very carefully. Re-run bis if you need to change anything.&lt;br /&gt;
&lt;br /&gt;
Once installed, run a manual sync.&lt;br /&gt;
&lt;br /&gt;
'''Manual Sync'''&lt;br /&gt;
&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- pbn) perform backup sync now&lt;br /&gt;
&lt;br /&gt;
The first backup may take hours.  I was getting 2GB/hour, though it varies, so plan first run accordingly.  You should run the first full backup while charging the phone. If this is successful, setup scheduling.   If not successful, check Troubleshooting section below.&lt;br /&gt;
&lt;br /&gt;
'''Scheduling'''&lt;br /&gt;
&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- sbk) schedule backup&lt;br /&gt;
&lt;br /&gt;
There is an issue with cron that it doesn't run some jobs when phone is asleep.  It will consistently sync when you use your phone or if charging.  Am working on it.  If running nightly backups, may need to have your phone charging to run, which is likely for most.  You can confirm by checking the backup log in the morning.&lt;br /&gt;
&lt;br /&gt;
For now the scheduler only allows to pick one backup hour of the day.  Late night after midnight is recommended as you're likely home and in local WiFi segment.  Be careful not to schedule near time of a scheduled reboot, if that is scheduled.  You can manually edit the cron table to meet your needs.  See details at end of page.&lt;br /&gt;
&lt;br /&gt;
== Usage Info ==&lt;br /&gt;
&lt;br /&gt;
- The first run may take hours depending on amount of data.  Best to charge phone while doing the first full backup.  I was getting about 2GB/hour.&lt;br /&gt;
&lt;br /&gt;
- Future backup runs with few changes only take about 2-5 minutes to run, depending on total number of files and size of changed/new files.&lt;br /&gt;
&lt;br /&gt;
- If you delete a file on media drive, it will NOT delete on the Windows backup folder.  Future versions will allow you to control this.&lt;br /&gt;
&lt;br /&gt;
- If you quit a backup or if disrupted in the middle, no problem.  Just run again and it will pickup where it left off.&lt;br /&gt;
&lt;br /&gt;
- If a backup is running on local WiFi at home and you leave with phone in pocket and it switches to EVDO, no problem.  The backup will timeout (2 minutes) and cleanly exit.  It will pickup where it left off on the next scheduled (or manual) run.&lt;br /&gt;
&lt;br /&gt;
- Backup skips encrypted .palm directory, so does not backup the applications. It's not likely a restore would work, so not going there.&lt;br /&gt;
&lt;br /&gt;
- A backup runs at lowest priority so doesn't impact performance of other apps.  Was running Need For Speed during full backup and not one skip in NFS, very smooth.  Assassins Creed ran great.  Backups may impact load times however since it impacts IO more than CPU, but even load times were acceptable.  There doesn't appear to be any noticeable performance impact to other webOS usage due to this.  Even cron runs at a lower priority. &lt;br /&gt;
&lt;br /&gt;
- Cool use.  Take a picture, run a backup and it shows up on your Windows PC.  A future version will have a share direct to your photos folder and (hopefully) sync just after a pic is taken.&lt;br /&gt;
&lt;br /&gt;
- For now, backup scheduling only sets up to run once a day.  You can manually change the cron entry to meet your needs.&lt;br /&gt;
&lt;br /&gt;
- This will also work with NAS drives that support cifs, as well as Linux/Mac/Unix setup as a cifs/samba server.  Just create a backup folder with sharename 'mediabackup' with full read/write permissions.&lt;br /&gt;
&lt;br /&gt;
== Excluding Files from Backup ==&lt;br /&gt;
&lt;br /&gt;
Edit this file to add any file/dir patterns you don't want to backup, such as music.  It can also be edited from mounted USB drive using a text editor.&lt;br /&gt;
&lt;br /&gt;
/media/internal/xorgtools/etc/backup-exclude.cfg&lt;br /&gt;
&lt;br /&gt;
Use one line for each entry.  More info here....&lt;br /&gt;
&lt;br /&gt;
[http://articles.slicehost.com/2007/10/10/rsync-exclude-files-and-folders Sample Excludes]&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
'''Permission Errors'''&lt;br /&gt;
&lt;br /&gt;
If you get permission errors when doing a manual sync, check the following...&lt;br /&gt;
&lt;br /&gt;
- Make sure the Windows backup folder share has 'full control'.  On XP, it might say 'allow user to have full access', that must be checked.  Must have read/write access to the share.&amp;lt;br&amp;gt;&lt;br /&gt;
- Ensure the Windows backup folder sharename is 'mediabackup'.  It must be named this.&amp;lt;br&amp;gt;&lt;br /&gt;
- In Vista/Win7, go to Advance Settings in Share tab to create a new sharename.&amp;lt;br&amp;gt;&lt;br /&gt;
- The Windows user account cannot have a space in the name or password.  If so, create a new Windows user/password with no spaces and re-run &amp;quot;backup initial setup&amp;quot;.  &amp;lt;br&amp;gt;&lt;br /&gt;
- If you have firewall software, you may need to open ports: 137-139, 445&lt;br /&gt;
&lt;br /&gt;
== Caveats ==&lt;br /&gt;
&lt;br /&gt;
- There is an issue with cron that it doesn't run some jobs when phone is asleep.  It will consistently sync when you use your phone or if charging.  Am working on it.  Check the backup log.  If it didn't sync as expected, run a manual sync. &lt;br /&gt;
&lt;br /&gt;
- The username and password on the Windows PC cannot have any spaces.  You'll need to use or create an account on Windows that has no spaces for the user id and password.&lt;br /&gt;
&lt;br /&gt;
- The backup maintains timestamps.  It will have permission errors on changing times on some '.' directories.  Those are harmless errors.  Ignore them.&lt;br /&gt;
&lt;br /&gt;
- There's a known issue with backing up non-english unicode filenames (thanks Kyusaku).  The rsync in webos doesn't appear to support --conv to do the conversion.  The file backs up OK but with garbled filename, which would need to be renamed.  The optware version of rsync has the --conv flag if you want to install/use that version.&lt;br /&gt;
&lt;br /&gt;
- It turns out that the webOS kernel has built in cifs support and samba is not needed.  If you were an early tester and installed samba (on or before Jan 31), you can remove unless you're using for other reasons.&lt;br /&gt;
&lt;br /&gt;
ipkg-opt remove samba2&lt;br /&gt;
&lt;br /&gt;
== Layout Details ==&lt;br /&gt;
These are the configuration/script files involved if you want to make manual changes.&lt;br /&gt;
&lt;br /&gt;
/media/internal/xorgtools/etc/mediabackup.cfg (stores ip, username, passwd, etc)&amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/xorgtools/etc/backup-exclude.cfg  (files/dirs to exclude in backup)&amp;lt;br&amp;gt;&lt;br /&gt;
/var/spool/cron/crontabs/root  (cron schedling)&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
/media/internal/xorgtools/bck.mnu (the backup menu)&amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/xorgtools/bck (directory of backup scripts)&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== How to Remove ==&lt;br /&gt;
&lt;br /&gt;
Remove the backup setup...&amp;lt;br&amp;gt;&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- rbk) remove all backup setup &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This remove the backup related entries in...&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/fstab&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/hosts&amp;lt;br&amp;gt;&lt;br /&gt;
/var/spool/cron/crontabs/root&lt;br /&gt;
&lt;br /&gt;
You can re-install with 'backup initial setup' menu item.&lt;br /&gt;
&lt;br /&gt;
== ToDos/Requests/Updates ==&lt;br /&gt;
&lt;br /&gt;
Please post other ideas and feature requests here.&lt;br /&gt;
&lt;br /&gt;
Here is the [http://forums.precentral.net/webos-internals/226574-xorg-tools-power-tools-power-users.html PreCentral thread], which also has release notes on new versions.&lt;br /&gt;
&lt;br /&gt;
== Alternate Methods/Other Platforms ==&lt;br /&gt;
&lt;br /&gt;
I chose to do Windows/cifs because that is what most people have available.  This could be easily ported to Mac/Linux by just using rsync daemon (cifs not necessary).  The sync scripts in /media/internal/xorgtools/plugins can be altered by likely just stripping out the cifs mounting and change the rsync command to talk to rsyncd on backup computer.&lt;br /&gt;
&lt;br /&gt;
== Credits ==&lt;br /&gt;
&lt;br /&gt;
Thanks much to testers... Vincent Law, navinaq, Kyusaku, rlanza1054&lt;/div&gt;</summary>
		<author><name>Xorg</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Xorg_Tools_-_Power_Tools_for_Power_Users&amp;diff=8958</id>
		<title>Xorg Tools - Power Tools for Power Users</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Xorg_Tools_-_Power_Tools_for_Power_Users&amp;diff=8958"/>
		<updated>2010-02-08T15:49:08Z</updated>

		<summary type="html">&lt;p&gt;Xorg: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
Xorg Tools (aka xt) is a Linux script that sets up lower level Linux services or power user functions on webOS devices.  Xorg Tools will approach functions that may not make it as a webOS app.  Many xt functions are setups of optware services/commands or implementations of webos-internals.org pages that never made it to an app (credits are given).  &lt;br /&gt;
&lt;br /&gt;
Xorg Tools is intended for Power Users, those generally experienced with making lower level configurations to their phones and computers. If you can use vi editor, xt is for you.  If you are comfortable with command lines, xt is probably for you. Using these tools may require some knowledge to setup connectivity with other systems.  In some cases Linux/app-specific knowledge is needed for more detailed configuration, but in most cases xt will do the basic setup to get things working.&lt;br /&gt;
&lt;br /&gt;
Xorg Tools runs from a terminal session (or Terminal app available in PreWare) as 'xt' command.  As xt matures, it may run from Launcher (launching terminal app with xt menu).  Xorg Tools can be used either in menu mode or with command arguments.&lt;br /&gt;
&lt;br /&gt;
== Initial Features ==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
 1) Diagnostics - analyzes storage usage, seeks known problem areas of webOS devices.&lt;br /&gt;
 2) Scheduling - sets up Linux cron to allow scheduling apps or daily reboots.&lt;br /&gt;
 3) Performance - changing priority of key processes (more capabilities in future).&lt;br /&gt;
 4) mvapp - maintains relevant mvapp commands for recovery, continues support for linking email.&lt;br /&gt;
 5) optware - base optware setup with dropbear SSH (via webOS-internals boostrap)&lt;br /&gt;
 6) File Sharing - sets up samba filesharing, both in/outbound connections &lt;br /&gt;
 7) MyTether 3D Fix - fixes issues with MyTether interfering with 3D games, SDL.&lt;br /&gt;
 8) PreWare Install - easily install/update PreWare from a Terminal session.&lt;br /&gt;
 9) Dropbox sync - sync your webos device to Dropbox filesharing service &lt;br /&gt;
10) Backup Media Drive over WiFi - scheduled automatic backups of media to a PC.&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
Many more things are planned like aiding the install/setup of webos-internals pages like emulators, vnc, dynamic dns, network tunables, etc.  If needed someday, a malware scanner also might be in xt's future.  Taking requests for features/functions that likely would not make it as a webOS app.  Am seeking other optware packages that could be useful under webOS - CUPS printing?&lt;br /&gt;
&lt;br /&gt;
While many experienced with Linux can setup these by reading the webos-internals pages, the target for xt is to set this stuff up for you in one shot and make it more accessible.&lt;br /&gt;
&lt;br /&gt;
== Initial Release ==&lt;br /&gt;
A development version is now available.  It will not be released on Homebrew installers for a while as this isn't intended for the masses yet.  For now xt is for power users who can manage lower level changes..  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Paste this in a Terminal session or in WebOS QI Linux Commandline...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
wget -qO- http://tinyurl.com/xt-setup | /bin/sh&lt;br /&gt;
&lt;br /&gt;
xt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Check for daily updates...&lt;br /&gt;
&lt;br /&gt;
xt upd&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Removing Xorg Tools ==&lt;br /&gt;
Be sure to remove any setup that xt creates, such as cron setup, samba services, etc. unless you know how to remove those manually.&lt;br /&gt;
&lt;br /&gt;
For now xt itself needs to be removed manually from Terminal...&amp;lt;br&amp;gt;&lt;br /&gt;
rm /usr/local/bin&amp;lt;br&amp;gt;&lt;br /&gt;
cd /media/internal&amp;lt;br&amp;gt;&lt;br /&gt;
rm -r xorgtools&lt;br /&gt;
&lt;br /&gt;
== Adding/Modifying Plugins ==&lt;br /&gt;
Scripters can add their own plugins to xorg tools menus or customize existing ones.  Scripters should not customize plugins that are included with xt as the plugins will be overwritten with the next update.  Best to copy the plugin and modify it.  Existing plugins should also be used as template if you want to add your own plugin.&lt;br /&gt;
&lt;br /&gt;
Example using Media backup plugin:&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Xorg Tools plugin menu will automatically list all items that end in .mnu in the plugins folder.&lt;br /&gt;
&lt;br /&gt;
cd /media/internal/xorgtools/plugins&amp;lt;br&amp;gt;&lt;br /&gt;
ls&amp;lt;br&amp;gt;&lt;br /&gt;
bck         bck.mnu &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(copy the menu script)&amp;lt;br&amp;gt;&lt;br /&gt;
cp bck.mnu tst.mnu&amp;lt;br&amp;gt;&lt;br /&gt;
vi tst.mnu&amp;lt;br&amp;gt;&lt;br /&gt;
(edit the tag: line)&amp;lt;br&amp;gt;&lt;br /&gt;
tag:f1:f2:f3&amp;lt;br&amp;gt;&lt;br /&gt;
f1 - the title of the service that will appear in the plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
f2 - the three letter selection code that will appear in plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
f3 - the filename of menu script&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
cp -r bck tst&amp;lt;br&amp;gt;&lt;br /&gt;
cd tst&amp;lt;br&amp;gt;&lt;br /&gt;
(edit these scripts as you'd like, they can be named anything.  edit tst.mnu above to launch each script per the menu selection items.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Support/Discussion ==&lt;br /&gt;
See the [http://forums.precentral.net/webos-internals/226574-xorg-tools-power-tools-power-users.html PreCentral Thread] for support, questions and discussion.&lt;br /&gt;
&lt;br /&gt;
== License ==&lt;br /&gt;
Xorg Tools follows the [http://www.webos-internals.org/wiki/MIT_Open_Source_License_-_webOS-Patches webos-internals MIT license model].  &lt;br /&gt;
&lt;br /&gt;
Developers are encouraged to use xt code or concepts in other projects, per the terms of the license.  If a function of xt is eventually better maintained in another project, the xt feature will likely be redirected to that project and in some cases adopted back into xt.&lt;br /&gt;
&lt;br /&gt;
== Guides ==&lt;br /&gt;
&lt;br /&gt;
This section points to additional guides to further configure any optware or other tools that is an xt function.&lt;br /&gt;
&lt;br /&gt;
Feel free to add other guides, such as connection to Windows and Mac.&lt;br /&gt;
&lt;br /&gt;
'''Media Backup over WiFi'''&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.webos-internals.org/wiki/Backup_Media_Drive_over_WiFi Setup Instructions]&lt;br /&gt;
&lt;br /&gt;
'''Dropbox Syncing'''&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.webos-internals.org/wiki/Dropbox_Syncing Setup Instructions]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Filesharing''':&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.webos-internals.org/wiki/Samba_Access Samba Setup] - from webos-internals&amp;lt;br&amp;gt;&lt;br /&gt;
[http://us3.samba.org/samba Official Samba Site] - use for more detailed setup&amp;lt;br&amp;gt;&lt;br /&gt;
[http://forums.precentral.net/showthread.php?p=2173985 Windows Mounting] - how to setup a share mountpoint with Windows&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
'''Scheduling'''&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.webos-internals.org/wiki/Crond Initial Cron Setup] - from webos-internals&amp;lt;br&amp;gt;&lt;br /&gt;
[http://www.pantz.org/software/cron/croninfo.html Cron Guide] - a guide with more details&lt;/div&gt;</summary>
		<author><name>Xorg</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Backup_Media_Drive_over_WiFi&amp;diff=8933</id>
		<title>Backup Media Drive over WiFi</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Backup_Media_Drive_over_WiFi&amp;diff=8933"/>
		<updated>2010-02-05T17:46:02Z</updated>

		<summary type="html">&lt;p&gt;Xorg: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
This tool creates scheduled backups of /media/internal (usb media drive) to a Windows computer over WiFi.  It could also work with NAS drive/Linux/Mac that are setup for cifs/samba access.&lt;br /&gt;
&lt;br /&gt;
As with all webos-internals solutions, this function comes with no warranty.&lt;br /&gt;
&lt;br /&gt;
== How this method works ==&lt;br /&gt;
This uses Xorg Tools to setup the configuration.&lt;br /&gt;
&lt;br /&gt;
It uses webOS existing cifs filesharing and rsync to perform the backup.&lt;br /&gt;
&lt;br /&gt;
In a nutshell, it mounts a Windows fileshare onto webOS device and uses rsync to sync.  Cron scheduling is used to automatically run at specified times.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
You need the following tools/knowledge to use this service...&lt;br /&gt;
&lt;br /&gt;
- A Windows PC (or other cifs/samba server) with at least 7GB storage available&amp;lt;br&amp;gt;&lt;br /&gt;
- Terminal access to phone, or webOS Quick Install&amp;lt;br&amp;gt;&lt;br /&gt;
- Need to know the local IP address of the backup PC&amp;lt;br&amp;gt;&lt;br /&gt;
- Helps to know how to setup Windows print/filesharing&amp;lt;br&amp;gt;&lt;br /&gt;
-- though the xt wizard walks you through setup&lt;br /&gt;
&lt;br /&gt;
== How to install ==&lt;br /&gt;
&lt;br /&gt;
'''Install Xorg Tools'''&lt;br /&gt;
&lt;br /&gt;
Paste this in a terminal session or use webOS Quick Install Linux Command line...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /tmp &amp;amp;&amp;amp; wget -qO- http://dl.dropbox.com/u/3812896/xt.setup | /bin/sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Terminal app or in a Terminal session...&lt;br /&gt;
&lt;br /&gt;
- Run 'xt' from linux&lt;br /&gt;
&lt;br /&gt;
Find the IP address of the backup computer before continuing.  If you don't know how to find the local IP address on your computer, this is not for you.  Use the local IP address, not the WAN address.  Best to start with local segment and then once working, tinker with router port forwarding to maybe use over EVDO and external WiFi.&lt;br /&gt;
&lt;br /&gt;
'''Initial Setup'''&lt;br /&gt;
&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bis) backup initial setup&lt;br /&gt;
&lt;br /&gt;
Follow all instructions very carefully. Re-run bis if you need to change anything.&lt;br /&gt;
&lt;br /&gt;
Once installed, run a manual sync.&lt;br /&gt;
&lt;br /&gt;
'''Manual Sync'''&lt;br /&gt;
&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- pbn) perform backup sync now&lt;br /&gt;
&lt;br /&gt;
The first backup may take hours.  I was getting 2GB/hour, though it varies, so plan first run accordingly.  You should run the first full backup while charging the phone. If this is successful, setup scheduling.   If not successful, check Troubleshooting section below.&lt;br /&gt;
&lt;br /&gt;
'''Scheduling'''&lt;br /&gt;
&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- sbk) schedule backup&lt;br /&gt;
&lt;br /&gt;
There is an issue with cron that it doesn't run some jobs when phone is asleep.  It will consistently sync when you use your phone or if charging.  Am working on it.  If running nightly backups, may need to have your phone charging to run, which is likely for most.  You can confirm by checking the backup log in the morning.&lt;br /&gt;
&lt;br /&gt;
For now the scheduler only allows to pick one backup hour of the day.  Late night after midnight is recommended as you're likely home and in local WiFi segment.  Be careful not to schedule near time of a scheduled reboot, if that is scheduled.  You can manually edit the cron table to meet your needs.  See details at end of page.&lt;br /&gt;
&lt;br /&gt;
== Usage Info ==&lt;br /&gt;
&lt;br /&gt;
- The first run may take hours depending on amount of data.  Best to charge phone while doing the first full backup.  I was getting about 2GB/hour.&lt;br /&gt;
&lt;br /&gt;
- Future backup runs with few changes only take about 2-5 minutes to run, depending on total number of files and size of changed/new files.&lt;br /&gt;
&lt;br /&gt;
- If you delete a file on media drive, it will NOT delete on the Windows backup folder.  Future versions will allow you to control this.&lt;br /&gt;
&lt;br /&gt;
- If you quit a backup or if disrupted in the middle, no problem.  Just run again and it will pickup where it left off.&lt;br /&gt;
&lt;br /&gt;
- If a backup is running on local WiFi at home and you leave with phone in pocket and it switches to EVDO, no problem.  The backup will timeout (2 minutes) and cleanly exit.  It will pickup where it left off on the next scheduled (or manual) run.&lt;br /&gt;
&lt;br /&gt;
- Backup skips encrypted .palm directory, so does not backup the applications. It's not likely a restore would work, so not going there.&lt;br /&gt;
&lt;br /&gt;
- A backup runs at lowest priority so doesn't impact performance of other apps.  Was running Need For Speed during full backup and not one skip in NFS, very smooth.  Assassins Creed ran great.  Backups may impact load times however since it impacts IO more than CPU, but even load times were acceptable.  There doesn't appear to be any noticeable performance impact to other webOS usage due to this.  Even cron runs at a lower priority. &lt;br /&gt;
&lt;br /&gt;
- Cool use.  Take a picture, run a backup and it shows up on your Windows PC.  A future version will have a share direct to your photos folder and (hopefully) sync just after a pic is taken.&lt;br /&gt;
&lt;br /&gt;
- For now, backup scheduling only sets up to run once a day.  You can manually change the cron entry to meet your needs.&lt;br /&gt;
&lt;br /&gt;
- This will also work with NAS drives that support cifs, as well as Linux/Mac/Unix setup as a cifs/samba server.  Just create a backup folder with sharename 'mediabackup' with full read/write permissions.&lt;br /&gt;
&lt;br /&gt;
== Excluding Files from Backup ==&lt;br /&gt;
&lt;br /&gt;
Edit this file to add any file/dir patterns you don't want to backup, such as music.  It can also be edited from mounted USB drive using a text editor.&lt;br /&gt;
&lt;br /&gt;
/media/internal/xorgtools/etc/backup-exclude.cfg&lt;br /&gt;
&lt;br /&gt;
Use one line for each entry.  More info here....&lt;br /&gt;
&lt;br /&gt;
[http://articles.slicehost.com/2007/10/10/rsync-exclude-files-and-folders Sample Excludes]&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
'''Permission Errors'''&lt;br /&gt;
&lt;br /&gt;
If you get permission errors when doing a manual sync, check the following...&lt;br /&gt;
&lt;br /&gt;
- Make sure the Windows backup folder share has 'full control'.  On XP, it might say 'allow user to have full access', that must be checked.  Must have read/write access to the share.&amp;lt;br&amp;gt;&lt;br /&gt;
- Ensure the Windows backup folder sharename is 'mediabackup'.  It must be named this.&amp;lt;br&amp;gt;&lt;br /&gt;
- In Vista/Win7, go to Advance Settings in Share tab to create a new sharename.&amp;lt;br&amp;gt;&lt;br /&gt;
- The Windows user account cannot have a space in the name or password.  If so, create a new Windows user/password with no spaces and re-run &amp;quot;backup initial setup&amp;quot;.  &amp;lt;br&amp;gt;&lt;br /&gt;
- If you have firewall software, you may need to open ports: 137-139, 445&lt;br /&gt;
&lt;br /&gt;
== Caveats ==&lt;br /&gt;
&lt;br /&gt;
- There is an issue with cron that it doesn't run some jobs when phone is asleep.  It will consistently sync when you use your phone or if charging.  Am working on it.  Check the backup log.  If it didn't sync as expected, run a manual sync. &lt;br /&gt;
&lt;br /&gt;
- The username and password on the Windows PC cannot have any spaces.  You'll need to use or create an account on Windows that has no spaces for the user id and password.&lt;br /&gt;
&lt;br /&gt;
- The backup maintains timestamps.  It will have permission errors on changing times on some '.' directories.  Those are harmless errors.  Ignore them.&lt;br /&gt;
&lt;br /&gt;
- There's a known issue with backing up non-english unicode filenames (thanks Kyusaku).  The rsync in webos doesn't appear to support --conv to do the conversion.  The file backs up OK but with garbled filename, which would need to be renamed.  The optware version of rsync has the --conv flag if you want to install/use that version.&lt;br /&gt;
&lt;br /&gt;
- It turns out that the webOS kernel has built in cifs support and samba is not needed.  If you were an early tester and installed samba (on or before Jan 31), you can remove unless you're using for other reasons.&lt;br /&gt;
&lt;br /&gt;
ipkg-opt remove samba2&lt;br /&gt;
&lt;br /&gt;
== Details on what is setup ==&lt;br /&gt;
These are the configuration files involved if you want to make manual changes.&lt;br /&gt;
&lt;br /&gt;
/etc/fstab&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/hosts&amp;lt;br&amp;gt;&lt;br /&gt;
/var/spool/cron/crontabs/root&lt;br /&gt;
&lt;br /&gt;
A future version will no longer use /etc/fstab or /etc/hosts and will have its own config file.&lt;br /&gt;
&lt;br /&gt;
== How to Remove ==&lt;br /&gt;
&lt;br /&gt;
Remove the backup setup...&amp;lt;br&amp;gt;&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- rbk) remove all backup setup &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This remove the backup related entries in...&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/fstab&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/hosts&amp;lt;br&amp;gt;&lt;br /&gt;
/var/spool/cron/crontabs/root&lt;br /&gt;
&lt;br /&gt;
You can re-install with 'backup initial setup' menu item.&lt;br /&gt;
&lt;br /&gt;
== ToDos/Requests/Updates ==&lt;br /&gt;
&lt;br /&gt;
Please post other ideas and feature requests here.&lt;br /&gt;
&lt;br /&gt;
Here is the [http://forums.precentral.net/webos-internals/226574-xorg-tools-power-tools-power-users.html PreCentral thread], which also has release notes on new versions.&lt;br /&gt;
&lt;br /&gt;
== Alternate Methods/Other Platforms ==&lt;br /&gt;
&lt;br /&gt;
I chose to do Windows/cifs because that is what most people have available.  This could be easily ported to Mac/Linux by just using rsync daemon (cifs not necessary).  The sync scripts in /media/internal/xorgtools/plugins can be altered by likely just stripping out the cifs mounting and change the rsync command to talk to rsyncd on backup computer.&lt;br /&gt;
&lt;br /&gt;
== Credits ==&lt;br /&gt;
&lt;br /&gt;
Thanks much to testers... Vincent Law, navinaq, Kyusaku, rlanza1054&lt;/div&gt;</summary>
		<author><name>Xorg</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Backup_Media_Drive_over_WiFi&amp;diff=8919</id>
		<title>Backup Media Drive over WiFi</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Backup_Media_Drive_over_WiFi&amp;diff=8919"/>
		<updated>2010-02-04T15:11:11Z</updated>

		<summary type="html">&lt;p&gt;Xorg: /* Caveats */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
This tool creates scheduled backups of /media/internal (usb media drive) to a Windows computer over WiFi.  It could also work with NAS drive/Linux/Mac that is setup for cifs/samba access.&lt;br /&gt;
&lt;br /&gt;
As with all webos-internals solutions, this function comes with no warranty.&lt;br /&gt;
&lt;br /&gt;
== How this method works ==&lt;br /&gt;
This uses Xorg Tools to setup the configuration.&lt;br /&gt;
&lt;br /&gt;
It uses webOS existing cifs filesharing and rsync to perform the backup.&lt;br /&gt;
&lt;br /&gt;
In a nutshell, it mounts a Windows fileshare onto webOS device and uses rsync to sync.  Cron scheduling is used to automatically run at specified times.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
You need the following tools/knowledge to use this service...&lt;br /&gt;
&lt;br /&gt;
- A Windows PC (or other cifs/samba server) with at least 7GB storage available&amp;lt;br&amp;gt;&lt;br /&gt;
- Terminal access to phone, or webOS Quick Install&amp;lt;br&amp;gt;&lt;br /&gt;
- Need to know the local IP address of the backup PC&amp;lt;br&amp;gt;&lt;br /&gt;
- Helps to know how to setup Windows print/filesharing&amp;lt;br&amp;gt;&lt;br /&gt;
-- though the xt wizard walks you through setup&lt;br /&gt;
&lt;br /&gt;
== How to install ==&lt;br /&gt;
&lt;br /&gt;
'''Install Xorg Tools'''&lt;br /&gt;
&lt;br /&gt;
Paste this in a terminal session or use webOS Quick Install Linux Command line...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /tmp &amp;amp;&amp;amp; wget -qO- http://dl.dropbox.com/u/3812896/xt.setup | /bin/sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Terminal app or in a Terminal session...&lt;br /&gt;
&lt;br /&gt;
- Run 'xt' from linux&lt;br /&gt;
&lt;br /&gt;
Find the IP address of the backup computer before continuing.  If you don't know how to find the local IP address on your computer, this is not for you.  Use the local IP address, not the WAN address.  Best to start with local segment and then once working, tinker with router port forwarding to maybe use over EVDO and external WiFi.&lt;br /&gt;
&lt;br /&gt;
'''Initial Setup'''&lt;br /&gt;
&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bis) backup initial setup&lt;br /&gt;
&lt;br /&gt;
Follow all instructions very carefully. Re-run bis if you need to change anything.&lt;br /&gt;
&lt;br /&gt;
Once installed, run a manual sync.&lt;br /&gt;
&lt;br /&gt;
'''Manual Sync'''&lt;br /&gt;
&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- pbn) perform backup sync now&lt;br /&gt;
&lt;br /&gt;
The first backup may take hours.  I was getting 2GB/hour, so plan first run accordingly.  You should run the first full backup while charging the phone. If this is successful, setup scheduling.   If not successful, check troubleshooting section below.&lt;br /&gt;
&lt;br /&gt;
'''Scheduling'''&lt;br /&gt;
&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- sbk) schedule backup&lt;br /&gt;
&lt;br /&gt;
There is an issue with cron that it doesn't run some jobs when phone is asleep.  It will definitely sync when you use your phone or if charging.  Am working on it.  If running nightly backups, may need to have your phone charging to run, which is likely for most.  You can confirm by checking the backup log in the morning.&lt;br /&gt;
&lt;br /&gt;
For now the scheduler only allows to pick one backup hour of the day.  Late night after midnight is recommended as you're likely home (in local WiFi segment).  Be careful not to schedule near time of a scheduled reboot, if that is scheduled.  You can manually edit the cron table to meet your needs.  See details at end of page.&lt;br /&gt;
&lt;br /&gt;
== Usage Info ==&lt;br /&gt;
&lt;br /&gt;
- The first run may take hours depending on amount of data.  Best to charge phone while doing the first full backup.  I was getting about 2GB/hour.&lt;br /&gt;
&lt;br /&gt;
- Future backup runs with few changes only take about 2-5 minutes to run, depending on total number of files and size of changed/new files.&lt;br /&gt;
&lt;br /&gt;
- If you delete a file on media drive, it will NOT delete on the Windows backup folder.  Future versions will allow you to control this.&lt;br /&gt;
&lt;br /&gt;
- If you quit a backup or if disrupted in the middle, no problem.  Just run again and it will pickup where it left off.&lt;br /&gt;
&lt;br /&gt;
- If a backup is running on local WiFi at home and you leave with phone in pocket and it switches to EVDO, no problem.  The backup will timeout (2 minutes) and cleanly exit.  It will pickup where it left off on the next scheduled (or manual) run.&lt;br /&gt;
&lt;br /&gt;
- Backup skips cryptofs, so does not backup the applications. It's not likely a restore would work, so not going there.&lt;br /&gt;
&lt;br /&gt;
- A backup runs at lowest priority so doesn't impact performance of other apps.  Was running Need For Speed during full backup and not one skip in NFS, very smooth.  Assassins Creed ran great.  Backups may impact load times however since it impacts IO more than CPU, but even load times were acceptable.  There doesn't appear to be any noticeable performance impact to other webOS usage due to this.  Even cron runs at a lower priority. &lt;br /&gt;
&lt;br /&gt;
- Cool use.  Take a picture, run a backup and it shows up on your Windows PC.  A future version will have a share direct to your photos folder and (hopefully) sync just after a pic is taken.&lt;br /&gt;
&lt;br /&gt;
- For now, backup scheduling only sets up to run once a day.  You can manually change the cron entry to meet your needs.&lt;br /&gt;
&lt;br /&gt;
- This would also likely work with NAS drives that support cifs, as well as Linux/Mac/Unix setup as a cifs/samba server.  Just create a backup folder with sharename 'mediabackup' with full read/write permissions.&lt;br /&gt;
&lt;br /&gt;
== Excluding Files from Backup ==&lt;br /&gt;
&lt;br /&gt;
Edit this file to add any file/dir patterns you don't want to backup, such as music.  It can also be edited from mounted USB drive using a text editor.&lt;br /&gt;
&lt;br /&gt;
/media/internal/xorgtools/etc/backup-exclude.cfg&lt;br /&gt;
&lt;br /&gt;
Use one line for each entry.  More info here....&lt;br /&gt;
&lt;br /&gt;
[http://articles.slicehost.com/2007/10/10/rsync-exclude-files-and-folders Sample Excludes]&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
'''Permission Errors'''&lt;br /&gt;
&lt;br /&gt;
If you get permission errors when doing a manual sync, check the following...&lt;br /&gt;
&lt;br /&gt;
- Make sure the Windows backup folder share has 'full control'.  On XP, it might say 'allow user to have full access', that must be checked.  Must have read/write access to the share.&amp;lt;br&amp;gt;&lt;br /&gt;
- Ensure the Windows backup folder sharename is 'mediabackup'.  It must be named this.&amp;lt;br&amp;gt;&lt;br /&gt;
- In Vista/Win7, go to Advance Settings in Share tab to create a new sharename.&amp;lt;br&amp;gt;&lt;br /&gt;
- The Windows user account cannot have a space in the name or password.  If so, create a new Windows user/password with no spaces and re-run &amp;quot;backup initial setup&amp;quot;.  &lt;br /&gt;
- If you have firewall software, you may need to open ports: 137-139, 445&lt;br /&gt;
&lt;br /&gt;
== Caveats ==&lt;br /&gt;
&lt;br /&gt;
- There is an issue with cron that it doesn't run some jobs when phone is asleep.  It will always sync when you use your phone or if charging.  Am working on it.  If it didn't sync as expected, run a manual sync. &lt;br /&gt;
&lt;br /&gt;
- The username and password on the Windows PC cannot have any spaces.  You'll need to use or create an account on Windows that has no spaces for the user id and password.&lt;br /&gt;
&lt;br /&gt;
- The backup maintains timestamps.  It will have permission errors on changing times on some '.' directories.  Those are harmless errors.  Ignore them.&lt;br /&gt;
&lt;br /&gt;
- There's a known issue with backing up non-english unicode filenames (thanks Kyusaku).  The rsync in webos doesn't appear to support --conv to do the conversion.  The file backs up OK but with garbled filename, which would need to be renamed.  Looking to use a more full fledged rsync binary for future release.&lt;br /&gt;
&lt;br /&gt;
- It turns out that the webOS kernel has built in cifs support and samba is not needed.  If you were an early tester and installed samba (on or before Jan 31), you can remove unless you're using for other reasons.&lt;br /&gt;
&lt;br /&gt;
ipkg-opt remove samba&lt;br /&gt;
&lt;br /&gt;
== Details on what is setup ==&lt;br /&gt;
These are the configuration files involved if you want to make manual changes.&lt;br /&gt;
&lt;br /&gt;
/etc/fstab&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/hosts&amp;lt;br&amp;gt;&lt;br /&gt;
/var/spool/cron/crontabs/root&lt;br /&gt;
&lt;br /&gt;
== How to Remove ==&lt;br /&gt;
&lt;br /&gt;
Remove the backup setup...&amp;lt;br&amp;gt;&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- rbk) remove all backup setup &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This remove the backup related entries in...&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/fstab&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/hosts&amp;lt;br&amp;gt;&lt;br /&gt;
/var/spool/cron/crontabs/root&lt;br /&gt;
&lt;br /&gt;
You can re-install with 'backup initial setup' menu item.&lt;br /&gt;
&lt;br /&gt;
== ToDos/Requests/Updates ==&lt;br /&gt;
&lt;br /&gt;
Please post other ideas and feature requests here.&lt;br /&gt;
&lt;br /&gt;
Here is the [http://forums.precentral.net/webos-internals/226574-xorg-tools-power-tools-power-users.html PreCentral thread], which also has release notes on new versions.&lt;br /&gt;
&lt;br /&gt;
== Alternate Methods/Other Platforms ==&lt;br /&gt;
&lt;br /&gt;
I chose to do Windows/cifs because that is what most people have available.  This could be easily ported to Mac/Linux by just using rsync daemon (cifs not necessary).  The sync scripts in /media/internal/xorgtools/plugins can be altered by likely just stripping out the cifs mounting and change the rsync command to talk to the rsyncd on backup computer.&lt;br /&gt;
&lt;br /&gt;
== Credits ==&lt;br /&gt;
&lt;br /&gt;
Thanks much to testers... Vincent Law, navinaq, Kyusaku, rlanza1054&lt;/div&gt;</summary>
		<author><name>Xorg</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Backup_Media_Drive_over_WiFi&amp;diff=8910</id>
		<title>Backup Media Drive over WiFi</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Backup_Media_Drive_over_WiFi&amp;diff=8910"/>
		<updated>2010-02-04T01:43:57Z</updated>

		<summary type="html">&lt;p&gt;Xorg: /* How to install */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
This tool creates scheduled backups of /media/internal (usb media drive) to a Windows computer over WiFi.  It could also work with NAS drive/Linux/Mac that is setup for cifs/samba access.&lt;br /&gt;
&lt;br /&gt;
As with all webos-internals solutions, this function comes with no warranty.&lt;br /&gt;
&lt;br /&gt;
== How this method works ==&lt;br /&gt;
This uses Xorg Tools to setup the configuration.&lt;br /&gt;
&lt;br /&gt;
It uses webOS existing cifs filesharing and rsync to perform the backup.&lt;br /&gt;
&lt;br /&gt;
In a nutshell, it mounts a Windows fileshare onto webOS device and uses rsync to sync.  Cron scheduling is used to automatically run at specified times.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
You need the following tools/knowledge to use this service...&lt;br /&gt;
&lt;br /&gt;
- A Windows PC (or other cifs/samba server) with at least 7GB storage available&amp;lt;br&amp;gt;&lt;br /&gt;
- Terminal access to phone, or webOS Quick Install&amp;lt;br&amp;gt;&lt;br /&gt;
- Need to know the local IP address of the backup PC&amp;lt;br&amp;gt;&lt;br /&gt;
- Helps to know how to setup Windows print/filesharing&amp;lt;br&amp;gt;&lt;br /&gt;
-- though the xt wizard walks you through setup&lt;br /&gt;
&lt;br /&gt;
== How to install ==&lt;br /&gt;
&lt;br /&gt;
'''Install Xorg Tools'''&lt;br /&gt;
&lt;br /&gt;
Paste this in a terminal session or use webOS Quick Install Linux Command line...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /tmp &amp;amp;&amp;amp; wget -qO- http://dl.dropbox.com/u/3812896/xt.setup | /bin/sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Terminal app or in a Terminal session...&lt;br /&gt;
&lt;br /&gt;
- Run 'xt' from linux&lt;br /&gt;
&lt;br /&gt;
Find the IP address of the backup computer before continuing.  If you don't know how to find the local IP address on your computer, this is not for you.  Use the local IP address, not the WAN address.  Best to start with local segment and then once working, tinker with router port forwarding to maybe use over EVDO and external WiFi.&lt;br /&gt;
&lt;br /&gt;
'''Initial Setup'''&lt;br /&gt;
&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bis) backup initial setup&lt;br /&gt;
&lt;br /&gt;
Follow all instructions very carefully. Re-run bis if you need to change anything.&lt;br /&gt;
&lt;br /&gt;
Once installed, run a manual sync.&lt;br /&gt;
&lt;br /&gt;
'''Manual Sync'''&lt;br /&gt;
&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- pbn) perform backup sync now&lt;br /&gt;
&lt;br /&gt;
The first backup may take hours.  I was getting 2GB/hour, so plan first run accordingly.  You should run the first full backup while charging the phone. If this is successful, setup scheduling.   If not successful, check troubleshooting section below.&lt;br /&gt;
&lt;br /&gt;
'''Scheduling'''&lt;br /&gt;
&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- sbk) schedule backup&lt;br /&gt;
&lt;br /&gt;
There is an issue with cron that it doesn't run some jobs when phone is asleep.  It will definitely sync when you use your phone or if charging.  Am working on it.  If running nightly backups, may need to have your phone charging to run, which is likely for most.  You can confirm by checking the backup log in the morning.&lt;br /&gt;
&lt;br /&gt;
For now the scheduler only allows to pick one backup hour of the day.  Late night after midnight is recommended as you're likely home (in local WiFi segment).  Be careful not to schedule near time of a scheduled reboot, if that is scheduled.  You can manually edit the cron table to meet your needs.  See details at end of page.&lt;br /&gt;
&lt;br /&gt;
== Usage Info ==&lt;br /&gt;
&lt;br /&gt;
- The first run may take hours depending on amount of data.  Best to charge phone while doing the first full backup.  I was getting about 2GB/hour.&lt;br /&gt;
&lt;br /&gt;
- Future backup runs with few changes only take about 2-5 minutes to run, depending on total number of files and size of changed/new files.&lt;br /&gt;
&lt;br /&gt;
- If you delete a file on media drive, it will NOT delete on the Windows backup folder.  Future versions will allow you to control this.&lt;br /&gt;
&lt;br /&gt;
- If you quit a backup or if disrupted in the middle, no problem.  Just run again and it will pickup where it left off.&lt;br /&gt;
&lt;br /&gt;
- If a backup is running on local WiFi at home and you leave with phone in pocket and it switches to EVDO, no problem.  The backup will timeout (2 minutes) and cleanly exit.  It will pickup where it left off on the next scheduled (or manual) run.&lt;br /&gt;
&lt;br /&gt;
- Backup skips cryptofs, so does not backup the applications. It's not likely a restore would work, so not going there.&lt;br /&gt;
&lt;br /&gt;
- A backup runs at lowest priority so doesn't impact performance of other apps.  Was running Need For Speed during full backup and not one skip in NFS, very smooth.  Assassins Creed ran great.  Backups may impact load times however since it impacts IO more than CPU, but even load times were acceptable.  There doesn't appear to be any noticeable performance impact to other webOS usage due to this.  Even cron runs at a lower priority. &lt;br /&gt;
&lt;br /&gt;
- Cool use.  Take a picture, run a backup and it shows up on your Windows PC.  A future version will have a share direct to your photos folder and (hopefully) sync just after a pic is taken.&lt;br /&gt;
&lt;br /&gt;
- For now, backup scheduling only sets up to run once a day.  You can manually change the cron entry to meet your needs.&lt;br /&gt;
&lt;br /&gt;
- This would also likely work with NAS drives that support cifs, as well as Linux/Mac/Unix setup as a cifs/samba server.  Just create a backup folder with sharename 'mediabackup' with full read/write permissions.&lt;br /&gt;
&lt;br /&gt;
== Excluding Files from Backup ==&lt;br /&gt;
&lt;br /&gt;
Edit this file to add any file/dir patterns you don't want to backup, such as music.  It can also be edited from mounted USB drive using a text editor.&lt;br /&gt;
&lt;br /&gt;
/media/internal/xorgtools/etc/backup-exclude.cfg&lt;br /&gt;
&lt;br /&gt;
Use one line for each entry.  More info here....&lt;br /&gt;
&lt;br /&gt;
[http://articles.slicehost.com/2007/10/10/rsync-exclude-files-and-folders Sample Excludes]&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
'''Permission Errors'''&lt;br /&gt;
&lt;br /&gt;
If you get permission errors when doing a manual sync, check the following...&lt;br /&gt;
&lt;br /&gt;
- Make sure the Windows backup folder share has 'full control'.  On XP, it might say 'allow user to have full access', that must be checked.  Must have read/write access to the share.&amp;lt;br&amp;gt;&lt;br /&gt;
- Ensure the Windows backup folder sharename is 'mediabackup'.  It must be named this.&amp;lt;br&amp;gt;&lt;br /&gt;
- In Vista/Win7, go to Advance Settings in Share tab to create a new sharename.&amp;lt;br&amp;gt;&lt;br /&gt;
- The Windows user account cannot have a space in the name or password.  If so, create a new Windows user/password with no spaces and re-run &amp;quot;backup initial setup&amp;quot;.  &lt;br /&gt;
- If you have firewall software, you may need to open ports: 137-139, 445&lt;br /&gt;
&lt;br /&gt;
== Caveats ==&lt;br /&gt;
&lt;br /&gt;
- There is an issue with cron that it doesn't run some jobs when phone is asleep.  It will always sync when you use your phone or if charging.  Am working on it.  If it didn't sync as expected, run a manual sync. &lt;br /&gt;
&lt;br /&gt;
- The username and password on the Windows PC cannot have any spaces.  You'll need to use or create an account on Windows that has no spaces for the user id and password.&lt;br /&gt;
&lt;br /&gt;
- The username/password of the Windows PC appear in /etc/fstab.   Anyone know how to hide this?&lt;br /&gt;
&lt;br /&gt;
- There's a known issue with backing up non-english unicode filenames (thanks Kyusaku).  The rsync in webos doesn't appear to support --conv to do the conversion.  The file backs up OK but with garbled filename, which would need to be renamed.  Looking to use a more full fledged rsync binary for future release.&lt;br /&gt;
&lt;br /&gt;
- It turns out that the webOS kernel has built in cifs support and samba is not needed.  If you were an early tester and installed samba (on or before Jan 31), you can remove unless you're using for other reasons.&lt;br /&gt;
&lt;br /&gt;
ipkg-opt remove samba&lt;br /&gt;
&lt;br /&gt;
== Details on what is setup ==&lt;br /&gt;
These are the configuration files involved if you want to make manual changes.&lt;br /&gt;
&lt;br /&gt;
/etc/fstab&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/hosts&amp;lt;br&amp;gt;&lt;br /&gt;
/var/spool/cron/crontabs/root&lt;br /&gt;
&lt;br /&gt;
== How to Remove ==&lt;br /&gt;
&lt;br /&gt;
Remove the backup setup...&amp;lt;br&amp;gt;&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- rbk) remove all backup setup &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This remove the backup related entries in...&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/fstab&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/hosts&amp;lt;br&amp;gt;&lt;br /&gt;
/var/spool/cron/crontabs/root&lt;br /&gt;
&lt;br /&gt;
You can re-install with 'backup initial setup' menu item.&lt;br /&gt;
&lt;br /&gt;
== ToDos/Requests/Updates ==&lt;br /&gt;
&lt;br /&gt;
Please post other ideas and feature requests here.&lt;br /&gt;
&lt;br /&gt;
Here is the [http://forums.precentral.net/webos-internals/226574-xorg-tools-power-tools-power-users.html PreCentral thread], which also has release notes on new versions.&lt;br /&gt;
&lt;br /&gt;
== Alternate Methods/Other Platforms ==&lt;br /&gt;
&lt;br /&gt;
I chose to do Windows/cifs because that is what most people have available.  This could be easily ported to Mac/Linux by just using rsync daemon (cifs not necessary).  The sync scripts in /media/internal/xorgtools/plugins can be altered by likely just stripping out the cifs mounting and change the rsync command to talk to the rsyncd on backup computer.&lt;br /&gt;
&lt;br /&gt;
== Credits ==&lt;br /&gt;
&lt;br /&gt;
Thanks much to testers... Vincent Law, navinaq, Kyusaku, rlanza1054&lt;/div&gt;</summary>
		<author><name>Xorg</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Backup_Media_Drive_over_WiFi&amp;diff=8909</id>
		<title>Backup Media Drive over WiFi</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Backup_Media_Drive_over_WiFi&amp;diff=8909"/>
		<updated>2010-02-04T01:41:16Z</updated>

		<summary type="html">&lt;p&gt;Xorg: /* Requirements */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
This tool creates scheduled backups of /media/internal (usb media drive) to a Windows computer over WiFi.  It could also work with NAS drive/Linux/Mac that is setup for cifs/samba access.&lt;br /&gt;
&lt;br /&gt;
As with all webos-internals solutions, this function comes with no warranty.&lt;br /&gt;
&lt;br /&gt;
== How this method works ==&lt;br /&gt;
This uses Xorg Tools to setup the configuration.&lt;br /&gt;
&lt;br /&gt;
It uses webOS existing cifs filesharing and rsync to perform the backup.&lt;br /&gt;
&lt;br /&gt;
In a nutshell, it mounts a Windows fileshare onto webOS device and uses rsync to sync.  Cron scheduling is used to automatically run at specified times.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
You need the following tools/knowledge to use this service...&lt;br /&gt;
&lt;br /&gt;
- A Windows PC (or other cifs/samba server) with at least 7GB storage available&amp;lt;br&amp;gt;&lt;br /&gt;
- Terminal access to phone, or webOS Quick Install&amp;lt;br&amp;gt;&lt;br /&gt;
- Need to know the local IP address of the backup PC&amp;lt;br&amp;gt;&lt;br /&gt;
- Helps to know how to setup Windows print/filesharing&amp;lt;br&amp;gt;&lt;br /&gt;
-- though the xt wizard walks you through setup&lt;br /&gt;
&lt;br /&gt;
== How to install ==&lt;br /&gt;
&lt;br /&gt;
'''Install Xorg Tools'''&lt;br /&gt;
&lt;br /&gt;
Paste this in a terminal session or use webOS Quick Install Linux Command line...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /tmp &amp;amp;&amp;amp; wget -qO- http://dl.dropbox.com/u/3812896/xt.setup | /bin/sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Terminal app or in a Terminal session...&lt;br /&gt;
&lt;br /&gt;
- Run 'xt' from linux&lt;br /&gt;
&lt;br /&gt;
Find the IP address of the backup computer before continuing.  If you don't know how to find the local IP address on your computer, this is not for you.  Use the local IP address, not the WAN address.  Best to start with local segment and then once working, tinker with router port forwarding to maybe use over EVDO and external WiFi.&lt;br /&gt;
&lt;br /&gt;
'''Initial Setup'''&lt;br /&gt;
&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bis) backup initial setup&lt;br /&gt;
&lt;br /&gt;
Follow all instructions very carefully. Re-run bis if you need to change anything.&lt;br /&gt;
&lt;br /&gt;
Once installed, run a manual sync.&lt;br /&gt;
&lt;br /&gt;
'''Manual Sync'''&lt;br /&gt;
&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- pbn) perform backup sync now&lt;br /&gt;
&lt;br /&gt;
The first backup may take hours.  I was getting 2GB/hour, so plan first run accordingly.  You should run the first full backup while charging the phone. If this is successful, setup scheduling. &lt;br /&gt;
&lt;br /&gt;
'''Scheduling'''&lt;br /&gt;
&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- sbk) schedule backup&lt;br /&gt;
&lt;br /&gt;
There is an issue with cron that it doesn't run some jobs when phone is asleep.  It will definitely sync when you use your phone or if charging.  Am working on it.  If running nightly backups, may need to have your phone charging to run, which is likely for most.  You can confirm by checking the backup log in the morning.&lt;br /&gt;
&lt;br /&gt;
For now the scheduler only allows to pick one backup hour of the day.  Late night after midnight is recommended as you're likely home (in local WiFi segment).  Be careful not to schedule near time of a scheduled reboot, if that is scheduled.  You can manually edit the cron table to meet your needs.  See details at end of page.&lt;br /&gt;
&lt;br /&gt;
== Usage Info ==&lt;br /&gt;
&lt;br /&gt;
- The first run may take hours depending on amount of data.  Best to charge phone while doing the first full backup.  I was getting about 2GB/hour.&lt;br /&gt;
&lt;br /&gt;
- Future backup runs with few changes only take about 2-5 minutes to run, depending on total number of files and size of changed/new files.&lt;br /&gt;
&lt;br /&gt;
- If you delete a file on media drive, it will NOT delete on the Windows backup folder.  Future versions will allow you to control this.&lt;br /&gt;
&lt;br /&gt;
- If you quit a backup or if disrupted in the middle, no problem.  Just run again and it will pickup where it left off.&lt;br /&gt;
&lt;br /&gt;
- If a backup is running on local WiFi at home and you leave with phone in pocket and it switches to EVDO, no problem.  The backup will timeout (2 minutes) and cleanly exit.  It will pickup where it left off on the next scheduled (or manual) run.&lt;br /&gt;
&lt;br /&gt;
- Backup skips cryptofs, so does not backup the applications. It's not likely a restore would work, so not going there.&lt;br /&gt;
&lt;br /&gt;
- A backup runs at lowest priority so doesn't impact performance of other apps.  Was running Need For Speed during full backup and not one skip in NFS, very smooth.  Assassins Creed ran great.  Backups may impact load times however since it impacts IO more than CPU, but even load times were acceptable.  There doesn't appear to be any noticeable performance impact to other webOS usage due to this.  Even cron runs at a lower priority. &lt;br /&gt;
&lt;br /&gt;
- Cool use.  Take a picture, run a backup and it shows up on your Windows PC.  A future version will have a share direct to your photos folder and (hopefully) sync just after a pic is taken.&lt;br /&gt;
&lt;br /&gt;
- For now, backup scheduling only sets up to run once a day.  You can manually change the cron entry to meet your needs.&lt;br /&gt;
&lt;br /&gt;
- This would also likely work with NAS drives that support cifs, as well as Linux/Mac/Unix setup as a cifs/samba server.  Just create a backup folder with sharename 'mediabackup' with full read/write permissions.&lt;br /&gt;
&lt;br /&gt;
== Excluding Files from Backup ==&lt;br /&gt;
&lt;br /&gt;
Edit this file to add any file/dir patterns you don't want to backup, such as music.  It can also be edited from mounted USB drive using a text editor.&lt;br /&gt;
&lt;br /&gt;
/media/internal/xorgtools/etc/backup-exclude.cfg&lt;br /&gt;
&lt;br /&gt;
Use one line for each entry.  More info here....&lt;br /&gt;
&lt;br /&gt;
[http://articles.slicehost.com/2007/10/10/rsync-exclude-files-and-folders Sample Excludes]&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
'''Permission Errors'''&lt;br /&gt;
&lt;br /&gt;
If you get permission errors when doing a manual sync, check the following...&lt;br /&gt;
&lt;br /&gt;
- Make sure the Windows backup folder share has 'full control'.  On XP, it might say 'allow user to have full access', that must be checked.  Must have read/write access to the share.&amp;lt;br&amp;gt;&lt;br /&gt;
- Ensure the Windows backup folder sharename is 'mediabackup'.  It must be named this.&amp;lt;br&amp;gt;&lt;br /&gt;
- In Vista/Win7, go to Advance Settings in Share tab to create a new sharename.&amp;lt;br&amp;gt;&lt;br /&gt;
- The Windows user account cannot have a space in the name or password.  If so, create a new Windows user/password with no spaces and re-run &amp;quot;backup initial setup&amp;quot;.  &lt;br /&gt;
- If you have firewall software, you may need to open ports: 137-139, 445&lt;br /&gt;
&lt;br /&gt;
== Caveats ==&lt;br /&gt;
&lt;br /&gt;
- There is an issue with cron that it doesn't run some jobs when phone is asleep.  It will always sync when you use your phone or if charging.  Am working on it.  If it didn't sync as expected, run a manual sync. &lt;br /&gt;
&lt;br /&gt;
- The username and password on the Windows PC cannot have any spaces.  You'll need to use or create an account on Windows that has no spaces for the user id and password.&lt;br /&gt;
&lt;br /&gt;
- The username/password of the Windows PC appear in /etc/fstab.   Anyone know how to hide this?&lt;br /&gt;
&lt;br /&gt;
- There's a known issue with backing up non-english unicode filenames (thanks Kyusaku).  The rsync in webos doesn't appear to support --conv to do the conversion.  The file backs up OK but with garbled filename, which would need to be renamed.  Looking to use a more full fledged rsync binary for future release.&lt;br /&gt;
&lt;br /&gt;
- It turns out that the webOS kernel has built in cifs support and samba is not needed.  If you were an early tester and installed samba (on or before Jan 31), you can remove unless you're using for other reasons.&lt;br /&gt;
&lt;br /&gt;
ipkg-opt remove samba&lt;br /&gt;
&lt;br /&gt;
== Details on what is setup ==&lt;br /&gt;
These are the configuration files involved if you want to make manual changes.&lt;br /&gt;
&lt;br /&gt;
/etc/fstab&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/hosts&amp;lt;br&amp;gt;&lt;br /&gt;
/var/spool/cron/crontabs/root&lt;br /&gt;
&lt;br /&gt;
== How to Remove ==&lt;br /&gt;
&lt;br /&gt;
Remove the backup setup...&amp;lt;br&amp;gt;&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- rbk) remove all backup setup &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This remove the backup related entries in...&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/fstab&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/hosts&amp;lt;br&amp;gt;&lt;br /&gt;
/var/spool/cron/crontabs/root&lt;br /&gt;
&lt;br /&gt;
You can re-install with 'backup initial setup' menu item.&lt;br /&gt;
&lt;br /&gt;
== ToDos/Requests/Updates ==&lt;br /&gt;
&lt;br /&gt;
Please post other ideas and feature requests here.&lt;br /&gt;
&lt;br /&gt;
Here is the [http://forums.precentral.net/webos-internals/226574-xorg-tools-power-tools-power-users.html PreCentral thread], which also has release notes on new versions.&lt;br /&gt;
&lt;br /&gt;
== Alternate Methods/Other Platforms ==&lt;br /&gt;
&lt;br /&gt;
I chose to do Windows/cifs because that is what most people have available.  This could be easily ported to Mac/Linux by just using rsync daemon (cifs not necessary).  The sync scripts in /media/internal/xorgtools/plugins can be altered by likely just stripping out the cifs mounting and change the rsync command to talk to the rsyncd on backup computer.&lt;br /&gt;
&lt;br /&gt;
== Credits ==&lt;br /&gt;
&lt;br /&gt;
Thanks much to testers... Vincent Law, navinaq, Kyusaku, rlanza1054&lt;/div&gt;</summary>
		<author><name>Xorg</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Dropbox_Syncing&amp;diff=8908</id>
		<title>Dropbox Syncing</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Dropbox_Syncing&amp;diff=8908"/>
		<updated>2010-02-04T01:17:43Z</updated>

		<summary type="html">&lt;p&gt;Xorg: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
Dropbox is a service that allows syncing files/folders across many computers.  Now there is a way to sync a webOS device to Dropbox.  This is not a native dropbox client.  It connects to a Windows PC that has a Dropbox client installed and syncs the files to that PC's dropbox folder.&lt;br /&gt;
&lt;br /&gt;
[https://www.dropbox.com/referrals/NTM4MTI4OTY5 Signup free here or see for more info on Dropbox.]&lt;br /&gt;
&lt;br /&gt;
== How this method works ==&lt;br /&gt;
This uses Xorg Tools to setup the configuration.&lt;br /&gt;
&lt;br /&gt;
It uses existing cifs filesharing and rsync to perform the dropbox syncing.&lt;br /&gt;
&lt;br /&gt;
In a nutshell, it mounts a Windows fileshare specific to dropbox onto webOS device and uses rsync to sync.  Cron scheduling (limited) is used to periodically check for dropbox updates.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
You need the following tools/knowledge to use this service...&lt;br /&gt;
&lt;br /&gt;
- A dropbox account with client running on a Windows PC&amp;lt;br&amp;gt;&lt;br /&gt;
- PC terminal access to phone, or webOS Quick Install&amp;lt;br&amp;gt;&lt;br /&gt;
- Need to know the local IP address of the PC with dropbox client&amp;lt;br&amp;gt;&lt;br /&gt;
- Helps to know how to setup Windows print/filesharing&amp;lt;br&amp;gt;&lt;br /&gt;
-- though the xt wizard walks you through setup&lt;br /&gt;
&lt;br /&gt;
== How to install ==&lt;br /&gt;
&lt;br /&gt;
'''Install Xorg Tools'''&lt;br /&gt;
&lt;br /&gt;
Paste this in a terminal session or use webOS Quick Install Linux Command line...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /tmp &amp;amp;&amp;amp; wget -qO- http://dl.dropbox.com/u/3812896/xt2.setup | /bin/sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Terminal app (available on Preware) or in a Terminal session...&lt;br /&gt;
&lt;br /&gt;
- Run 'xt' from linux&lt;br /&gt;
&lt;br /&gt;
Find the IP address of the computer with dropbox before continuing.  If you don't know how to find the local IP address on your computer, this is not for you.  Use the local IP address, not the WAN address.  Best to start with local segment and then once working, tinker with router port forwarding to maybe use over EVDO and external WiFi.&lt;br /&gt;
&lt;br /&gt;
'''Initial Setup'''&lt;br /&gt;
&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dbx) dropbox menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dbi) dropbox initial setup&lt;br /&gt;
&lt;br /&gt;
Follow all instructions very carefully.&lt;br /&gt;
&lt;br /&gt;
Once installed, run a manual sync.&lt;br /&gt;
&lt;br /&gt;
'''Manual Sync'''&lt;br /&gt;
&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dbx) dropbox menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dsn) dropbox sync now&lt;br /&gt;
&lt;br /&gt;
If this is successful, setup scheduling.&lt;br /&gt;
&lt;br /&gt;
'''Scheduling'''&lt;br /&gt;
&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dbx) dropbox menu&amp;lt;br&amp;gt;&lt;br /&gt;
- sds) schedule dropbox sync&lt;br /&gt;
&lt;br /&gt;
There is an issue with cron that it doesn't consistently run jobs when asleep.  It will sync when you use your phone or if charging.  Am working on it.&lt;br /&gt;
&lt;br /&gt;
== Using the Inbox/Outbox Folders ==&lt;br /&gt;
&lt;br /&gt;
This method cannot sync dropbox in both directions to the same folder so inbox and outbox folders are created.&lt;br /&gt;
&lt;br /&gt;
webOS inbox and outbox locations:&amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/dropbox/inbox&amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/dropbox/outbox&lt;br /&gt;
&lt;br /&gt;
Drop a file on webOS outbox and it will appear on Windows inbox.&amp;lt;br&amp;gt;&lt;br /&gt;
Drop a file on Windows outbox and it will appear on webOS inbox.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To delete files, you must do it from the outbox side.  If you delete from the inbox side, it will be updated again.  I hope to find a way around this in a future release.&lt;br /&gt;
&lt;br /&gt;
Use Internalz app (available on Preware) to manage moving files/folders in and out of dropbox.&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
'''Permission Errors'''&lt;br /&gt;
&lt;br /&gt;
If you get permission errors when doing a manual sync, check the following...&lt;br /&gt;
&lt;br /&gt;
- Make sure the Windows backup folder share has 'full control'.  Must have read/write access to the share.&amp;lt;br&amp;gt;&lt;br /&gt;
- Ensure the Windows folder _sharename_ is 'webos'.  It must be named this.&amp;lt;br&amp;gt;&lt;br /&gt;
- The Windows user account cannot have a space in the name or password.  If so, create a new Windows user with no space/password and re-run backup initial setup.&lt;br /&gt;
&lt;br /&gt;
== Caveats ==&lt;br /&gt;
&lt;br /&gt;
- The username and password on the Windows PC cannot have any spaces.  You'll need to use or create an account on Windows that has no spaces for the user id and password.&lt;br /&gt;
&lt;br /&gt;
- The username/password of the Windows PC appear in /etc/fstab.   Anyone know how to hide this?&lt;br /&gt;
&lt;br /&gt;
- It turns out that webos kernel has built in cifs support and samba is not needed.  If you were an early tester and installed samba (on or before Jan 31), you can remove unless you're using for other reasons.&lt;br /&gt;
&lt;br /&gt;
ipkg-opt remove samba&lt;br /&gt;
&lt;br /&gt;
== Details on what is setup ==&lt;br /&gt;
These are the configuration files involved if you want to make manual changes.&lt;br /&gt;
&lt;br /&gt;
On the webos device: &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This is where to drop off or pickup dropbox files on webos:&amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/dropbox/inbox &amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/dropbox/outbox&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Edited:&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/fstab&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/hosts&amp;lt;br&amp;gt;&lt;br /&gt;
/var/spool/cron/crontabs/root&lt;br /&gt;
&lt;br /&gt;
== How to Remove ==&lt;br /&gt;
&lt;br /&gt;
Remove the backup setup...&amp;lt;br&amp;gt;&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dbx) dropbox menu&amp;lt;br&amp;gt;&lt;br /&gt;
- rdb) remove all dropbox setup &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This remove the dropbox related entries in...&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/fstab&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/hosts&amp;lt;br&amp;gt;&lt;br /&gt;
/var/spool/cron/crontabs/root&lt;br /&gt;
&lt;br /&gt;
You can re-install with 'dropbox initial setup' menu item.&lt;br /&gt;
&lt;br /&gt;
== ToDos/Requests ==&lt;br /&gt;
&lt;br /&gt;
Looking for help on triggering the sync when a file changes in /media/internal/dropbox/outbox.  It can likely be done with Upstart inotify but I'm not too up on Upstart.  Could use some help. - pm me at precentral - xorg.&lt;br /&gt;
&lt;br /&gt;
Please post other ideas and feature requests here.&lt;br /&gt;
&lt;br /&gt;
== Alternate Methods/Other Platforms ==&lt;br /&gt;
&lt;br /&gt;
I chose to do Windows/cifs because that is what most people have available.  This could be more easily ported to Mac/Linux by just using rsync (cifs not necessary) in both directions setting up in/outbox as described above.&lt;br /&gt;
&lt;br /&gt;
== Credits ==&lt;br /&gt;
&lt;br /&gt;
Thanks much to testers... Vincent Law, navinaq, Kyusaku&lt;/div&gt;</summary>
		<author><name>Xorg</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Backup_Media_Drive_over_WiFi&amp;diff=8907</id>
		<title>Backup Media Drive over WiFi</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Backup_Media_Drive_over_WiFi&amp;diff=8907"/>
		<updated>2010-02-04T01:12:12Z</updated>

		<summary type="html">&lt;p&gt;Xorg: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
This tool creates scheduled backups of /media/internal (usb media drive) to a Windows computer over WiFi.  It could also work with NAS drive/Linux/Mac that is setup for cifs/samba access.&lt;br /&gt;
&lt;br /&gt;
As with all webos-internals solutions, this function comes with no warranty.&lt;br /&gt;
&lt;br /&gt;
== How this method works ==&lt;br /&gt;
This uses Xorg Tools to setup the configuration.&lt;br /&gt;
&lt;br /&gt;
It uses webOS existing cifs filesharing and rsync to perform the backup.&lt;br /&gt;
&lt;br /&gt;
In a nutshell, it mounts a Windows fileshare onto webOS device and uses rsync to sync.  Cron scheduling is used to automatically run at specified times.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
You need the following tools/knowledge to use this service...&lt;br /&gt;
&lt;br /&gt;
- A Windows PC with at least 7GB storage available&amp;lt;br&amp;gt;&lt;br /&gt;
- Terminal access to phone, or webOS Quick Install&amp;lt;br&amp;gt;&lt;br /&gt;
- Need to know the local IP address of the backup PC&amp;lt;br&amp;gt;&lt;br /&gt;
- Helps to know how to setup Windows print/filesharing&amp;lt;br&amp;gt;&lt;br /&gt;
-- though the xt wizard walks you through setup&lt;br /&gt;
&lt;br /&gt;
== How to install ==&lt;br /&gt;
&lt;br /&gt;
'''Install Xorg Tools'''&lt;br /&gt;
&lt;br /&gt;
Paste this in a terminal session or use webOS Quick Install Linux Command line...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /tmp &amp;amp;&amp;amp; wget -qO- http://dl.dropbox.com/u/3812896/xt.setup | /bin/sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Terminal app or in a Terminal session...&lt;br /&gt;
&lt;br /&gt;
- Run 'xt' from linux&lt;br /&gt;
&lt;br /&gt;
Find the IP address of the backup computer before continuing.  If you don't know how to find the local IP address on your computer, this is not for you.  Use the local IP address, not the WAN address.  Best to start with local segment and then once working, tinker with router port forwarding to maybe use over EVDO and external WiFi.&lt;br /&gt;
&lt;br /&gt;
'''Initial Setup'''&lt;br /&gt;
&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bis) backup initial setup&lt;br /&gt;
&lt;br /&gt;
Follow all instructions very carefully. Re-run bis if you need to change anything.&lt;br /&gt;
&lt;br /&gt;
Once installed, run a manual sync.&lt;br /&gt;
&lt;br /&gt;
'''Manual Sync'''&lt;br /&gt;
&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- pbn) perform backup sync now&lt;br /&gt;
&lt;br /&gt;
The first backup may take hours.  I was getting 2GB/hour, so plan first run accordingly.  You should run the first full backup while charging the phone. If this is successful, setup scheduling. &lt;br /&gt;
&lt;br /&gt;
'''Scheduling'''&lt;br /&gt;
&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- sbk) schedule backup&lt;br /&gt;
&lt;br /&gt;
There is an issue with cron that it doesn't run some jobs when phone is asleep.  It will definitely sync when you use your phone or if charging.  Am working on it.  If running nightly backups, may need to have your phone charging to run, which is likely for most.  You can confirm by checking the backup log in the morning.&lt;br /&gt;
&lt;br /&gt;
For now the scheduler only allows to pick one backup hour of the day.  Late night after midnight is recommended as you're likely home (in local WiFi segment).  Be careful not to schedule near time of a scheduled reboot, if that is scheduled.  You can manually edit the cron table to meet your needs.  See details at end of page.&lt;br /&gt;
&lt;br /&gt;
== Usage Info ==&lt;br /&gt;
&lt;br /&gt;
- The first run may take hours depending on amount of data.  Best to charge phone while doing the first full backup.  I was getting about 2GB/hour.&lt;br /&gt;
&lt;br /&gt;
- Future backup runs with few changes only take about 2-5 minutes to run, depending on total number of files and size of changed/new files.&lt;br /&gt;
&lt;br /&gt;
- If you delete a file on media drive, it will NOT delete on the Windows backup folder.  Future versions will allow you to control this.&lt;br /&gt;
&lt;br /&gt;
- If you quit a backup or if disrupted in the middle, no problem.  Just run again and it will pickup where it left off.&lt;br /&gt;
&lt;br /&gt;
- If a backup is running on local WiFi at home and you leave with phone in pocket and it switches to EVDO, no problem.  The backup will timeout (2 minutes) and cleanly exit.  It will pickup where it left off on the next scheduled (or manual) run.&lt;br /&gt;
&lt;br /&gt;
- Backup skips cryptofs, so does not backup the applications. It's not likely a restore would work, so not going there.&lt;br /&gt;
&lt;br /&gt;
- A backup runs at lowest priority so doesn't impact performance of other apps.  Was running Need For Speed during full backup and not one skip in NFS, very smooth.  Assassins Creed ran great.  Backups may impact load times however since it impacts IO more than CPU, but even load times were acceptable.  There doesn't appear to be any noticeable performance impact to other webOS usage due to this.  Even cron runs at a lower priority. &lt;br /&gt;
&lt;br /&gt;
- Cool use.  Take a picture, run a backup and it shows up on your Windows PC.  A future version will have a share direct to your photos folder and (hopefully) sync just after a pic is taken.&lt;br /&gt;
&lt;br /&gt;
- For now, backup scheduling only sets up to run once a day.  You can manually change the cron entry to meet your needs.&lt;br /&gt;
&lt;br /&gt;
- This would also likely work with NAS drives that support cifs, as well as Linux/Mac/Unix setup as a cifs/samba server.  Just create a backup folder with sharename 'mediabackup' with full read/write permissions.&lt;br /&gt;
&lt;br /&gt;
== Excluding Files from Backup ==&lt;br /&gt;
&lt;br /&gt;
Edit this file to add any file/dir patterns you don't want to backup, such as music.  It can also be edited from mounted USB drive using a text editor.&lt;br /&gt;
&lt;br /&gt;
/media/internal/xorgtools/etc/backup-exclude.cfg&lt;br /&gt;
&lt;br /&gt;
Use one line for each entry.  More info here....&lt;br /&gt;
&lt;br /&gt;
[http://articles.slicehost.com/2007/10/10/rsync-exclude-files-and-folders Sample Excludes]&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
'''Permission Errors'''&lt;br /&gt;
&lt;br /&gt;
If you get permission errors when doing a manual sync, check the following...&lt;br /&gt;
&lt;br /&gt;
- Make sure the Windows backup folder share has 'full control'.  On XP, it might say 'allow user to have full access', that must be checked.  Must have read/write access to the share.&amp;lt;br&amp;gt;&lt;br /&gt;
- Ensure the Windows backup folder sharename is 'mediabackup'.  It must be named this.&amp;lt;br&amp;gt;&lt;br /&gt;
- In Vista/Win7, go to Advance Settings in Share tab to create a new sharename.&amp;lt;br&amp;gt;&lt;br /&gt;
- The Windows user account cannot have a space in the name or password.  If so, create a new Windows user/password with no spaces and re-run &amp;quot;backup initial setup&amp;quot;.  &lt;br /&gt;
- If you have firewall software, you may need to open ports: 137-139, 445&lt;br /&gt;
&lt;br /&gt;
== Caveats ==&lt;br /&gt;
&lt;br /&gt;
- There is an issue with cron that it doesn't run some jobs when phone is asleep.  It will always sync when you use your phone or if charging.  Am working on it.  If it didn't sync as expected, run a manual sync. &lt;br /&gt;
&lt;br /&gt;
- The username and password on the Windows PC cannot have any spaces.  You'll need to use or create an account on Windows that has no spaces for the user id and password.&lt;br /&gt;
&lt;br /&gt;
- The username/password of the Windows PC appear in /etc/fstab.   Anyone know how to hide this?&lt;br /&gt;
&lt;br /&gt;
- There's a known issue with backing up non-english unicode filenames (thanks Kyusaku).  The rsync in webos doesn't appear to support --conv to do the conversion.  The file backs up OK but with garbled filename, which would need to be renamed.  Looking to use a more full fledged rsync binary for future release.&lt;br /&gt;
&lt;br /&gt;
- It turns out that the webOS kernel has built in cifs support and samba is not needed.  If you were an early tester and installed samba (on or before Jan 31), you can remove unless you're using for other reasons.&lt;br /&gt;
&lt;br /&gt;
ipkg-opt remove samba&lt;br /&gt;
&lt;br /&gt;
== Details on what is setup ==&lt;br /&gt;
These are the configuration files involved if you want to make manual changes.&lt;br /&gt;
&lt;br /&gt;
/etc/fstab&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/hosts&amp;lt;br&amp;gt;&lt;br /&gt;
/var/spool/cron/crontabs/root&lt;br /&gt;
&lt;br /&gt;
== How to Remove ==&lt;br /&gt;
&lt;br /&gt;
Remove the backup setup...&amp;lt;br&amp;gt;&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- rbk) remove all backup setup &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This remove the backup related entries in...&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/fstab&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/hosts&amp;lt;br&amp;gt;&lt;br /&gt;
/var/spool/cron/crontabs/root&lt;br /&gt;
&lt;br /&gt;
You can re-install with 'backup initial setup' menu item.&lt;br /&gt;
&lt;br /&gt;
== ToDos/Requests/Updates ==&lt;br /&gt;
&lt;br /&gt;
Please post other ideas and feature requests here.&lt;br /&gt;
&lt;br /&gt;
Here is the [http://forums.precentral.net/webos-internals/226574-xorg-tools-power-tools-power-users.html PreCentral thread], which also has release notes on new versions.&lt;br /&gt;
&lt;br /&gt;
== Alternate Methods/Other Platforms ==&lt;br /&gt;
&lt;br /&gt;
I chose to do Windows/cifs because that is what most people have available.  This could be easily ported to Mac/Linux by just using rsync daemon (cifs not necessary).  The sync scripts in /media/internal/xorgtools/plugins can be altered by likely just stripping out the cifs mounting and change the rsync command to talk to the rsyncd on backup computer.&lt;br /&gt;
&lt;br /&gt;
== Credits ==&lt;br /&gt;
&lt;br /&gt;
Thanks much to testers... Vincent Law, navinaq, Kyusaku, rlanza1054&lt;/div&gt;</summary>
		<author><name>Xorg</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Backup_Media_Drive_over_WiFi&amp;diff=8906</id>
		<title>Backup Media Drive over WiFi</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Backup_Media_Drive_over_WiFi&amp;diff=8906"/>
		<updated>2010-02-03T22:44:48Z</updated>

		<summary type="html">&lt;p&gt;Xorg: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
This tool creates scheduled backups of /media/internal (usb media drive) to a Windows computer over WiFi.  It could also work with NAS drive/Linux/Mac that is setup for cifs/samba access.&lt;br /&gt;
&lt;br /&gt;
As with all webos-internals solutions, this function comes with no warranty.&lt;br /&gt;
&lt;br /&gt;
== How this method works ==&lt;br /&gt;
This uses Xorg Tools to setup the configuration.&lt;br /&gt;
&lt;br /&gt;
It uses webOS existing cifs filesharing and rsync to perform the backup.&lt;br /&gt;
&lt;br /&gt;
In a nutshell, it mounts a Windows fileshare onto webOS device and uses rsync to sync.  Cron scheduling is used to automatically run at specified times.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
You need the following tools/knowledge to use this service...&lt;br /&gt;
&lt;br /&gt;
- A Windows PC with at least 7GB storage available&amp;lt;br&amp;gt;&lt;br /&gt;
- Terminal access to phone, or webOS Quick Install&amp;lt;br&amp;gt;&lt;br /&gt;
- Need to know the local IP address of the backup PC&amp;lt;br&amp;gt;&lt;br /&gt;
- Helps to know how to setup Windows print/filesharing&amp;lt;br&amp;gt;&lt;br /&gt;
-- though the xt wizard walks you through setup&lt;br /&gt;
&lt;br /&gt;
== How to install ==&lt;br /&gt;
&lt;br /&gt;
'''Install Xorg Tools'''&lt;br /&gt;
&lt;br /&gt;
Paste this in a terminal session or use webOS Quick Install Linux Command line...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /tmp &amp;amp;&amp;amp; wget -qO- http://dl.dropbox.com/u/3812896/xt.setup | /bin/sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Terminal app or in a Terminal session...&lt;br /&gt;
&lt;br /&gt;
- Run 'xt' from linux&lt;br /&gt;
&lt;br /&gt;
Find the IP address of the backup computer before continuing.  If you don't know how to find the local IP address on your computer, this is not for you.  Use the local IP address, not the WAN address.  Best to start with local segment and then once working, tinker with router port forwarding to maybe use over EVDO and external WiFi.&lt;br /&gt;
&lt;br /&gt;
'''Initial Setup'''&lt;br /&gt;
&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bis) backup initial setup&lt;br /&gt;
&lt;br /&gt;
Follow all instructions very carefully. Re-run bis if you need to change anything.&lt;br /&gt;
&lt;br /&gt;
Once installed, run a manual sync.&lt;br /&gt;
&lt;br /&gt;
'''Manual Sync'''&lt;br /&gt;
&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- pbn) perform backup sync now&lt;br /&gt;
&lt;br /&gt;
The first backup may take hours.  I was getting 2GB/hour, so plan first run accordingly.  Best to run first full backup while charging phone. If this is successful, setup scheduling. &lt;br /&gt;
&lt;br /&gt;
'''Scheduling'''&lt;br /&gt;
&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- sbk) schedule backup&lt;br /&gt;
&lt;br /&gt;
There is an issue with cron that it doesn't run jobs when phone is asleep.  It will sync when you use your phone or if charging.  Am working on it.  If running nightly backups, will need to have  your phone charging to run.&lt;br /&gt;
&lt;br /&gt;
For now the scheduler only allows to pick one backup hour of the day.  Late night after midnight is recommended as you're likely home (in local WiFi segment).  Be careful not to schedule near time of a reboot, if that is scheduled.  You can manually edit the cron table to meet your needs.  See details at end of page.&lt;br /&gt;
&lt;br /&gt;
== Usage Info ==&lt;br /&gt;
&lt;br /&gt;
- The first run may take hours depending on amount of data.  Best to charge phone while doing the first full backup.  I was getting about 2GB/hour.&lt;br /&gt;
&lt;br /&gt;
- Future backup runs with few changes only take about 2-5 minutes to run, depending on total number of files and size of changed/new files.&lt;br /&gt;
&lt;br /&gt;
- If you delete a file on media drive, it will NOT delete on the Windows backup folder.  Future versions will allow you to control this.&lt;br /&gt;
&lt;br /&gt;
- If you quit a backup or if disrupted in the middle, no problem.  Just run again and it will pickup where it left off.&lt;br /&gt;
&lt;br /&gt;
- If a backup is running on local WiFi at home and you leave with phone in pocket and it switches to EVDO, no problem.  The backup will timeout (2 minutes) and cleanly exit.  It will pickup where it left off on the next scheduled (or manual) run.&lt;br /&gt;
&lt;br /&gt;
- Backup skips cryptofs, so does not backup the applications. It's not guaranteed a restore would work, so not going there.&lt;br /&gt;
&lt;br /&gt;
- A backup runs at lowest priority so doesn't impact performance of other apps.  Was running Need For Speed during full backup and not one skip in NFS, very smooth.  Assassins Creed ran great.  Backups may impact load times however since it impacts IO more than CPU, but even load times were decent.  There doesn't appear to be any noticeable performance impact to other webOS usage due to this.  Even cron runs at a lower priority. &lt;br /&gt;
&lt;br /&gt;
- Cool use.  Take a picture, run a backup and it shows up on your Windows PC.  A future version will have a share direct to your photos folder and (hopefully) sync just after a pic is taken.&lt;br /&gt;
&lt;br /&gt;
- For now, backup scheduling only sets up to run once a day.  You can manually change the cron entry to meet your needs.&lt;br /&gt;
&lt;br /&gt;
- This would also likely work with NAS drives that support cifs, as well as Linux/Mac setup to as cifs/samba server.  Just create a backup folder with sharename 'mediabackup' with full read/write permissions.&lt;br /&gt;
&lt;br /&gt;
== Excluding Files from Backup ==&lt;br /&gt;
&lt;br /&gt;
Edit this file to add any file/dir patterns you don't want to backup, such as music.  It can also be edited from USB drive using a text editor.&lt;br /&gt;
&lt;br /&gt;
/media/internal/xorgtools/etc/backup-exclude.cfg&lt;br /&gt;
&lt;br /&gt;
Use one line for each entry.  More info here....&lt;br /&gt;
&lt;br /&gt;
[http://articles.slicehost.com/2007/10/10/rsync-exclude-files-and-folders Sample Excludes]&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
'''Permission Errors'''&lt;br /&gt;
&lt;br /&gt;
If you get permission errors when doing a manual sync, check the following...&lt;br /&gt;
&lt;br /&gt;
- Make sure the Windows backup folder share has 'full control'.  On XP, it might say 'allow user to have full access', that must be checked.  Must have read/write access to the share.&amp;lt;br&amp;gt;&lt;br /&gt;
- Ensure the Windows backup folder sharename is 'mediabackup'.  It must be named this.&amp;lt;br&amp;gt;&lt;br /&gt;
- In Vista/Win7, go to Advance Settings in Share tab to create a new sharename.&amp;lt;br&amp;gt;&lt;br /&gt;
- The Windows user account cannot have a space in the name or password.  If so, create a new Windows user/password with no spaces and re-run &amp;quot;backup initial setup&amp;quot;.  &lt;br /&gt;
- If you have firewall software, you may need to open ports: 137-139, 445&lt;br /&gt;
&lt;br /&gt;
== Caveats ==&lt;br /&gt;
&lt;br /&gt;
-There is an issue with cron that it doesn't run jobs when phone is asleep.  It will sync when you use your phone or if charging.  Am working on it.  If running nightly backups, will need to have  your phone charging to run at that time.&lt;br /&gt;
&lt;br /&gt;
- The username and password on the Windows PC cannot have any spaces.  You'll need to use or create an account on Windows that has no spaces for the user id and password.&lt;br /&gt;
&lt;br /&gt;
- The username/password of the Windows PC appear in /etc/fstab.   Anyone know how to hide this?&lt;br /&gt;
&lt;br /&gt;
- There's a known issue with backing up non-english unicode filenames (thanks Kyusaku).  The rsync in webos doesn't appear to support --conv to do the conversion.  The file backs up OK but with garbled filename, which would need to be renamed.  Looking to use a more full fledged rsync binary for future release.&lt;br /&gt;
&lt;br /&gt;
- It turns out that the webOS kernel has built in cifs support and samba is not needed.  If you were an early tester and installed samba (on or before Jan 31), you can remove unless you're using for other reasons.&lt;br /&gt;
&lt;br /&gt;
ipkg-opt remove samba&lt;br /&gt;
&lt;br /&gt;
== Details on what is setup ==&lt;br /&gt;
These are the configuration files involved if you want to make manual changes.&lt;br /&gt;
&lt;br /&gt;
/etc/fstab&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/hosts&amp;lt;br&amp;gt;&lt;br /&gt;
/var/spool/cron/crontabs/root&lt;br /&gt;
&lt;br /&gt;
== How to Remove ==&lt;br /&gt;
&lt;br /&gt;
Remove the backup setup...&amp;lt;br&amp;gt;&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- rbk) remove all backup setup &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This remove the backup related entries in...&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/fstab&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/hosts&amp;lt;br&amp;gt;&lt;br /&gt;
/var/spool/cron/crontabs/root&lt;br /&gt;
&lt;br /&gt;
You can re-install with 'backup initial setup' menu item.&lt;br /&gt;
&lt;br /&gt;
== ToDos/Requests/Updates ==&lt;br /&gt;
&lt;br /&gt;
Please post other ideas and feature requests here.&lt;br /&gt;
&lt;br /&gt;
Here is the [http://forums.precentral.net/webos-internals/226574-xorg-tools-power-tools-power-users.html PreCentral thread], which also has release notes on new versions.&lt;br /&gt;
&lt;br /&gt;
== Alternate Methods/Other Platforms ==&lt;br /&gt;
&lt;br /&gt;
I chose to do Windows/cifs because that is what most people have available.  This could be easily ported to Mac/Linux by just using rsync daemon (cifs not necessary).  The sync scripts in /media/internal/xorgtools/plugins can be altered by likely just stripping out the cifs mounting and change the rsync command to talk to the rsyncd on backup computer.&lt;br /&gt;
&lt;br /&gt;
== Credits ==&lt;br /&gt;
&lt;br /&gt;
Thanks much to testers... Vincent Law, navinaq, Kyusaku, rlanza1054&lt;/div&gt;</summary>
		<author><name>Xorg</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Backup_Media_Drive_over_WiFi&amp;diff=8905</id>
		<title>Backup Media Drive over WiFi</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Backup_Media_Drive_over_WiFi&amp;diff=8905"/>
		<updated>2010-02-03T22:44:11Z</updated>

		<summary type="html">&lt;p&gt;Xorg: /* How to install */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
This tool creates scheduled backups of /media/internal (usb media drive) to a Windows computer over WiFi.  It could also work with NAS drive/Linux/Mac that is setup for cifs/samba access.&lt;br /&gt;
&lt;br /&gt;
As with all webos-internals solutions, this function comes with no warranty.&lt;br /&gt;
&lt;br /&gt;
== How this method works ==&lt;br /&gt;
This uses Xorg Tools to setup the configuration.&lt;br /&gt;
&lt;br /&gt;
It uses webOS existing cifs filesharing and rsync to perform the backup.&lt;br /&gt;
&lt;br /&gt;
In a nutshell, it mounts a Windows fileshare onto webOS device and uses rsync to sync.  Cron scheduling is used to automatically run at specified times.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
You need the following tools/knowledge to use this service...&lt;br /&gt;
&lt;br /&gt;
- A Windows PC with at least 7GB storage available&amp;lt;br&amp;gt;&lt;br /&gt;
- Terminal access to phone, or webOS Quick Install&amp;lt;br&amp;gt;&lt;br /&gt;
- Need to know the local IP address of the backup PC&amp;lt;br&amp;gt;&lt;br /&gt;
- Helps to know how to setup Windows print/filesharing&amp;lt;br&amp;gt;&lt;br /&gt;
-- though the xt wizard walks you through setup&lt;br /&gt;
&lt;br /&gt;
== How to install ==&lt;br /&gt;
&lt;br /&gt;
'''Install Xorg Tools'''&lt;br /&gt;
&lt;br /&gt;
Paste this in a terminal session or use webOS Quick Install Linux Command line...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /tmp &amp;amp;&amp;amp; wget -qO- http://dl.dropbox.com/u/3812896/xt.setup | /bin/sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Terminal app or in a Terminal session...&lt;br /&gt;
&lt;br /&gt;
- Run 'xt' from linux&lt;br /&gt;
&lt;br /&gt;
Find the IP address of the backup computer before continuing.  If you don't know how to find the local IP address on your computer, this is not for you.  Use the local IP address, not the WAN address.  Best to start with local segment and then once working, tinker with router port forwarding to maybe use over EVDO and external WiFi.&lt;br /&gt;
&lt;br /&gt;
'''Initial Setup'''&lt;br /&gt;
&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bis) backup initial setup&lt;br /&gt;
&lt;br /&gt;
Follow all instructions very carefully. Re-run bis if you need to change anything.&lt;br /&gt;
&lt;br /&gt;
Once installed, run a manual sync.&lt;br /&gt;
&lt;br /&gt;
'''Manual Sync'''&lt;br /&gt;
&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- pbn) perform backup sync now&lt;br /&gt;
&lt;br /&gt;
The first backup may take hours.  I was getting 2GB/hour, so plan first run accordingly.  Best to run first full backup while charging phone. If this is successful, setup scheduling. &lt;br /&gt;
&lt;br /&gt;
'''Scheduling'''&lt;br /&gt;
&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- sbk) schedule backup&lt;br /&gt;
&lt;br /&gt;
There is an issue with cron that it doesn't run jobs when phone is asleep.  It will sync when you use your phone or if charging.  Am working on it.  If running nightly backups, will need to have  your phone charging to run.&lt;br /&gt;
&lt;br /&gt;
For now the scheduler only allows to pick one backup hour of the day.  Late night after midnight is recommended as you're likely home (in local WiFi segment).  Be careful not to schedule near time of a reboot, if that is scheduled.  You can manually edit the cron table to meet your needs.  See details at end of page.&lt;br /&gt;
&lt;br /&gt;
== Usage Info ==&lt;br /&gt;
&lt;br /&gt;
- The first run may take hours depending on amount of data.  Best to charge phone while doing the first full backup.  I was getting about 2GB/hour.&lt;br /&gt;
&lt;br /&gt;
- Future backup runs with few changes only take about 2-5 minutes to run, depending on total number of files and size of changed/new files.&lt;br /&gt;
&lt;br /&gt;
- If you delete a file on media drive, it will NOT delete on the Windows backup folder.  Future versions will allow you to control this.&lt;br /&gt;
&lt;br /&gt;
- If you quit a backup or if disrupted in the middle, no problem.  Just run again and it will pickup where it left off.&lt;br /&gt;
&lt;br /&gt;
- If a backup is running on local WiFi at home and you leave with phone in pocket and it switches to EVDO, no problem.  The backup will timeout (2 minutes) and cleanly exit.  It will pickup where it left off on the next scheduled (or manual) run.&lt;br /&gt;
&lt;br /&gt;
- Backup skips cryptofs, so does not backup the applications. It's not guaranteed a restore would work, so not going there.&lt;br /&gt;
&lt;br /&gt;
- A backup runs at lowest priority so doesn't impact performance of other apps.  Was running Need For Speed during full backup and not one skip in NFS, very smooth.  Assassins Creed ran great.  Backups may impact load times however since it impacts IO more than CPU, but even load times were decent.  There doesn't appear to be any noticeable performance impact to other webOS usage due to this.  Even cron runs at a lower priority. &lt;br /&gt;
&lt;br /&gt;
- Cool use.  Take a picture, run a backup and it shows up on your Windows PC.  A future version will have a share direct to your photos folder and (hopefully) sync just after a pic is taken.&lt;br /&gt;
&lt;br /&gt;
- For now, backup scheduling only sets up to run once a day.  You can manually change the cron entry to meet your needs.&lt;br /&gt;
&lt;br /&gt;
- This would also likely work with NAS drives that support cifs, as well as Linux/Mac setup to as cifs/samba server.  Just create a backup folder with sharename 'mediabackup' with full read/write permissions.&lt;br /&gt;
&lt;br /&gt;
== Excluding Files from Backup ==&lt;br /&gt;
&lt;br /&gt;
Edit this file to add any file/dir patterns you don't want to backup, such as music.  It can also be edited from USB drive using a text editor.&lt;br /&gt;
&lt;br /&gt;
/media/internal/xorgtools/etc/backup-exclude.cfg&lt;br /&gt;
&lt;br /&gt;
Use one line for each entry.  More info here....&lt;br /&gt;
&lt;br /&gt;
[http://articles.slicehost.com/2007/10/10/rsync-exclude-files-and-folders Sample Excludes]&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
'''Permission Errors'''&lt;br /&gt;
&lt;br /&gt;
If you get permission errors when doing a manual sync, check the following...&lt;br /&gt;
&lt;br /&gt;
- Make sure the Windows backup folder share has 'full control'.  On XP, it might say 'allow user to have full access', that must be checked.  Must have read/write access to the share.&amp;lt;br&amp;gt;&lt;br /&gt;
- Ensure the Windows backup folder sharename is 'mediabackup'.  It must be named this.&amp;lt;br&amp;gt;&lt;br /&gt;
- In Vista/Win7, go to Advance Settings in Share tab to create a new sharename.&amp;lt;br&amp;gt;&lt;br /&gt;
- The Windows user account cannot have a space in the name or password.  If so, create a new Windows user/password with no spaces and re-run &amp;quot;backup initial setup&amp;quot;.  &lt;br /&gt;
- If you have firewall software, you may need to open ports: 137-139, 445&lt;br /&gt;
&lt;br /&gt;
== Caveats ==&lt;br /&gt;
&lt;br /&gt;
- The username and password on the Windows PC cannot have any spaces.  You'll need to use or create an account on Windows that has no spaces for the user id and password.&lt;br /&gt;
&lt;br /&gt;
- The username/password of the Windows PC appear in /etc/fstab.   Anyone know how to hide this?&lt;br /&gt;
&lt;br /&gt;
- There's a known issue with backing up non-english unicode filenames (thanks Kyusaku).  The rsync in webos doesn't appear to support --conv to do the conversion.  The file backs up OK but with garbled filename, which would need to be renamed.  Looking to use a more full fledged rsync binary for future release.&lt;br /&gt;
&lt;br /&gt;
- It turns out that the webOS kernel has built in cifs support and samba is not needed.  If you were an early tester and installed samba (on or before Jan 31), you can remove unless you're using for other reasons.&lt;br /&gt;
&lt;br /&gt;
ipkg-opt remove samba&lt;br /&gt;
&lt;br /&gt;
== Details on what is setup ==&lt;br /&gt;
These are the configuration files involved if you want to make manual changes.&lt;br /&gt;
&lt;br /&gt;
/etc/fstab&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/hosts&amp;lt;br&amp;gt;&lt;br /&gt;
/var/spool/cron/crontabs/root&lt;br /&gt;
&lt;br /&gt;
== How to Remove ==&lt;br /&gt;
&lt;br /&gt;
Remove the backup setup...&amp;lt;br&amp;gt;&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- rbk) remove all backup setup &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This remove the backup related entries in...&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/fstab&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/hosts&amp;lt;br&amp;gt;&lt;br /&gt;
/var/spool/cron/crontabs/root&lt;br /&gt;
&lt;br /&gt;
You can re-install with 'backup initial setup' menu item.&lt;br /&gt;
&lt;br /&gt;
== ToDos/Requests/Updates ==&lt;br /&gt;
&lt;br /&gt;
Please post other ideas and feature requests here.&lt;br /&gt;
&lt;br /&gt;
Here is the [http://forums.precentral.net/webos-internals/226574-xorg-tools-power-tools-power-users.html PreCentral thread], which also has release notes on new versions.&lt;br /&gt;
&lt;br /&gt;
== Alternate Methods/Other Platforms ==&lt;br /&gt;
&lt;br /&gt;
I chose to do Windows/cifs because that is what most people have available.  This could be easily ported to Mac/Linux by just using rsync daemon (cifs not necessary).  The sync scripts in /media/internal/xorgtools/plugins can be altered by likely just stripping out the cifs mounting and change the rsync command to talk to the rsyncd on backup computer.&lt;br /&gt;
&lt;br /&gt;
== Credits ==&lt;br /&gt;
&lt;br /&gt;
Thanks much to testers... Vincent Law, navinaq, Kyusaku, rlanza1054&lt;/div&gt;</summary>
		<author><name>Xorg</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Dropbox_Syncing&amp;diff=8904</id>
		<title>Dropbox Syncing</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Dropbox_Syncing&amp;diff=8904"/>
		<updated>2010-02-03T22:43:01Z</updated>

		<summary type="html">&lt;p&gt;Xorg: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
Dropbox is a service that allows syncing files/folders across many computers.  Now there is a way to sync a webOS device to Dropbox.  This is not a native dropbox client.  It connects to a Windows PC that has a Dropbox client installed and syncs the files to that PC's dropbox folder.&lt;br /&gt;
&lt;br /&gt;
[https://www.dropbox.com/referrals/NTM4MTI4OTY5 Signup free here or see for more info on Dropbox.]&lt;br /&gt;
&lt;br /&gt;
== How this method works ==&lt;br /&gt;
This uses Xorg Tools to setup the configuration.&lt;br /&gt;
&lt;br /&gt;
It uses existing cifs filesharing and rsync to perform the dropbox syncing.&lt;br /&gt;
&lt;br /&gt;
In a nutshell, it mounts a Windows fileshare specific to dropbox onto webOS device and uses rsync to sync.  Cron scheduling (limited) is used to periodically check for dropbox updates.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
You need the following tools/knowledge to use this service...&lt;br /&gt;
&lt;br /&gt;
- A dropbox account with client running on a Windows PC&amp;lt;br&amp;gt;&lt;br /&gt;
- PC terminal access to phone, or webOS Quick Install&amp;lt;br&amp;gt;&lt;br /&gt;
- Need to know the local IP address of the PC with dropbox client&amp;lt;br&amp;gt;&lt;br /&gt;
- Helps to know how to setup Windows print/filesharing&amp;lt;br&amp;gt;&lt;br /&gt;
-- though the xt wizard walks you through setup&lt;br /&gt;
&lt;br /&gt;
== How to install ==&lt;br /&gt;
&lt;br /&gt;
'''Install Xorg Tools'''&lt;br /&gt;
&lt;br /&gt;
Paste this in a terminal session or use webOS Quick Install Linux Command line...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /tmp &amp;amp;&amp;amp; wget -qO- http://dl.dropbox.com/u/3812896/xt2.setup | /bin/sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Terminal app (available on Preware) or in a Terminal session...&lt;br /&gt;
&lt;br /&gt;
- Run 'xt' from linux&lt;br /&gt;
&lt;br /&gt;
Find the IP address of the computer with dropbox before continuing.  If you don't know how to find the local IP address on your computer, this is not for you.  Use the local IP address, not the WAN address.  Best to start with local segment and then once working, tinker with router port forwarding to maybe use over EVDO and external WiFi.&lt;br /&gt;
&lt;br /&gt;
'''Initial Setup'''&lt;br /&gt;
&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dbx) dropbox menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dbi) dropbox initial setup&lt;br /&gt;
&lt;br /&gt;
Follow all instructions very carefully.&lt;br /&gt;
&lt;br /&gt;
Once installed, run a manual sync.&lt;br /&gt;
&lt;br /&gt;
'''Manual Sync'''&lt;br /&gt;
&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dbx) dropbox menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dsn) dropbox sync now&lt;br /&gt;
&lt;br /&gt;
If this is successful, setup scheduling.&lt;br /&gt;
&lt;br /&gt;
'''Scheduling'''&lt;br /&gt;
&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dbx) dropbox menu&amp;lt;br&amp;gt;&lt;br /&gt;
- sds) schedule dropbox sync&lt;br /&gt;
&lt;br /&gt;
There is an issue with cron that it doesn't run jobs when asleep.  It will sync when you use your phone or if charging.  Am working on it.&lt;br /&gt;
&lt;br /&gt;
== Using the Inbox/Outbox Folders ==&lt;br /&gt;
&lt;br /&gt;
This method cannot sync dropbox in both directions to the same folder so inbox and outbox folders are created.&lt;br /&gt;
&lt;br /&gt;
webOS inbox and outbox locations:&amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/dropbox/inbox&amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/dropbox/outbox&lt;br /&gt;
&lt;br /&gt;
Drop a file on webOS outbox and it will appear on Windows inbox.&amp;lt;br&amp;gt;&lt;br /&gt;
Drop a file on Windows outbox and it will appear on webOS inbox.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To delete files, you must do it from the outbox side.  If you delete from the inbox side, it will be updated again.  I hope to find a way around this in a future release.&lt;br /&gt;
&lt;br /&gt;
Use Internalz app (available on Preware) to manage moving files/folders in and out of dropbox.&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
'''Permission Errors'''&lt;br /&gt;
&lt;br /&gt;
If you get permission errors when doing a manual sync, check the following...&lt;br /&gt;
&lt;br /&gt;
- Make sure the Windows backup folder share has 'full control'.  Must have read/write access to the share.&amp;lt;br&amp;gt;&lt;br /&gt;
- Ensure the Windows folder _sharename_ is 'webos'.  It must be named this.&amp;lt;br&amp;gt;&lt;br /&gt;
- The Windows user account cannot have a space in the name or password.  If so, create a new Windows user with no space/password and re-run backup initial setup.&lt;br /&gt;
&lt;br /&gt;
== Caveats ==&lt;br /&gt;
&lt;br /&gt;
- The username and password on the Windows PC cannot have any spaces.  You'll need to use or create an account on Windows that has no spaces for the user id and password.&lt;br /&gt;
&lt;br /&gt;
- The username/password of the Windows PC appear in /etc/fstab.   Anyone know how to hide this?&lt;br /&gt;
&lt;br /&gt;
- It turns out that webos kernel has built in cifs support and samba is not needed.  If you were an early tester and installed samba (on or before Jan 31), you can remove unless you're using for other reasons.&lt;br /&gt;
&lt;br /&gt;
ipkg-opt remove samba&lt;br /&gt;
&lt;br /&gt;
== Details on what is setup ==&lt;br /&gt;
These are the configuration files involved if you want to make manual changes.&lt;br /&gt;
&lt;br /&gt;
On the webos device: &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This is where to drop off or pickup dropbox files on webos:&amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/dropbox/inbox &amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/dropbox/outbox&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Edited:&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/fstab&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/hosts&amp;lt;br&amp;gt;&lt;br /&gt;
/var/spool/cron/crontabs/root&lt;br /&gt;
&lt;br /&gt;
== How to Remove ==&lt;br /&gt;
&lt;br /&gt;
Remove the backup setup...&amp;lt;br&amp;gt;&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dbx) dropbox menu&amp;lt;br&amp;gt;&lt;br /&gt;
- rdb) remove all dropbox setup &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This remove the dropbox related entries in...&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/fstab&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/hosts&amp;lt;br&amp;gt;&lt;br /&gt;
/var/spool/cron/crontabs/root&lt;br /&gt;
&lt;br /&gt;
You can re-install with 'dropbox initial setup' menu item.&lt;br /&gt;
&lt;br /&gt;
== ToDos/Requests ==&lt;br /&gt;
&lt;br /&gt;
Looking for help on triggering the sync when a file changes in /media/internal/dropbox/outbox.  It can likely be done with Upstart inotify but I'm not too up on Upstart.  Could use some help. - pm me at precentral - xorg.&lt;br /&gt;
&lt;br /&gt;
Please post other ideas and feature requests here.&lt;br /&gt;
&lt;br /&gt;
== Alternate Methods/Other Platforms ==&lt;br /&gt;
&lt;br /&gt;
I chose to do Windows/cifs because that is what most people have available.  This could be more easily ported to Mac/Linux by just using rsync (cifs not necessary) in both directions setting up in/outbox as described above.&lt;br /&gt;
&lt;br /&gt;
== Credits ==&lt;br /&gt;
&lt;br /&gt;
Thanks much to testers... Vincent Law, navinaq, Kyusaku&lt;/div&gt;</summary>
		<author><name>Xorg</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Talk:Crond&amp;diff=8903</id>
		<title>Talk:Crond</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Talk:Crond&amp;diff=8903"/>
		<updated>2010-02-03T21:14:45Z</updated>

		<summary type="html">&lt;p&gt;Xorg: /* Alternate event.d config */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Is /opt/bin/crontab -e the original cron file that we should not be editing? If so does the package install of of cron need to be updated?&lt;br /&gt;
&lt;br /&gt;
== ==&lt;br /&gt;
&lt;br /&gt;
Keep these things in mind when running the cron daemon that ships with the Pre.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
* The daemon reads files in /etc/cron/crontabs/&lt;br /&gt;
* crontab -e edits files in /var/spool/cron/crontabs/&lt;br /&gt;
* When crontab -e does an edit, it makes a temporary copy of the file, which is what the user actually edits, verifies the changes, and then replaces the existing file.&lt;br /&gt;
* Changes should be made using a regular editor to /etc/cron/crontabs/*&lt;br /&gt;
&lt;br /&gt;
== WebOS 1.3.1 ==&lt;br /&gt;
&lt;br /&gt;
I can not seem to get crond running after updating to WebOS 1.3.1.  Any able to get it working? I'll keep working at it later and report back if I discover something... --[[User:Dolio|Dolio]] 12:09, 25 November 2009 (UTC)&lt;br /&gt;
&lt;br /&gt;
== Alternate event.d config ==&lt;br /&gt;
&lt;br /&gt;
I could only get crond to run on startup with these parameters in mod-crond...&lt;br /&gt;
&lt;br /&gt;
start on stopped finish&amp;lt;br&amp;gt;&lt;br /&gt;
stop on runlevel [!2]&lt;br /&gt;
&lt;br /&gt;
But then it has the issues with stopping when going to sleep.&lt;br /&gt;
&lt;br /&gt;
--[[User:Xorg|Xorg]] 18:57, 16 December 2009 (UTC)&lt;/div&gt;</summary>
		<author><name>Xorg</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Crond&amp;diff=8902</id>
		<title>Crond</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Crond&amp;diff=8902"/>
		<updated>2010-02-03T21:13:20Z</updated>

		<summary type="html">&lt;p&gt;Xorg: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Enabling Stock Cron==&lt;br /&gt;
&lt;br /&gt;
The [[Patch webOS GPS Tracking]] guide had a nice bit about enabling crond on the Pre. It looks like its already pre-installed, just not set up to start. You will need to edit /etc/event.d/mod-crond (don't modify the existing crond startup-script) to enable cron to start. The settings should look like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
# -*- mode: conf; -*-&lt;br /&gt;
&lt;br /&gt;
# jobfile for busybox crond, with pre-start commands to create the&lt;br /&gt;
# directory and files it wants by default.  That there's not 'start&lt;br /&gt;
# on' stanza is intentional: it's for development use only.  We can&lt;br /&gt;
# turn it on later if we need it, e.g. to keep the clock synced.  It&lt;br /&gt;
# does work.&lt;br /&gt;
&lt;br /&gt;
start on stopped configure&lt;br /&gt;
stop on started start_update&lt;br /&gt;
&lt;br /&gt;
# If the above do not work with WebOS above 1.3, try these...&lt;br /&gt;
# The above doesn't start service since webos 1.3&lt;br /&gt;
# start on stopped finish&lt;br /&gt;
# stop on runlevel [!2]&lt;br /&gt;
&lt;br /&gt;
respawn&lt;br /&gt;
&lt;br /&gt;
exec /usr/sbin/crond -f -L /var/log/crond&lt;br /&gt;
&lt;br /&gt;
pre-start script&lt;br /&gt;
    mkdir -p /var/spool/cron/crontabs&lt;br /&gt;
    ln -sf /etc/cron/crontabs/root /var/spool/cron/crontabs/root&lt;br /&gt;
end script&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A few notes here. Unlike the Dropbear and other scripts I make my upstart scripts so that essential services don't stop when the device exists runlevel 2.  This seems to shutdown these services whenever the device locks. I prefer that my upstart services stop only when the updater runs.  Also I have made cron log to a separate file under /var/log so that it can be monitored better.&lt;br /&gt;
&lt;br /&gt;
One thing to note about the standard script for cron on the Pre is that the /var/spool/cron/crontabs directory is created every time the process runs and a symlink to /etc/cron/crontabs/root is created.  To my surprise this file does not exist.  So we need to create it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
sudo mkdir -p /etc/cron/crontabs&lt;br /&gt;
sudo sh -c 'echo &amp;gt; /etc/cron/crontabs/root'&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now to start up crond:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;sudo -i initctl start crond&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*Note for clarification:  I attempted this and it all works OK, but I can't figure out how to actually schedule jobs.  I modified /etc/cron/crontabs/root, but nothing seems to happen.  I also tried crontab -e, and that doesn't seem to do anything either.  I suggest adding a note here clarifying what needs to be done to actually add a cron job.  -irwinr&lt;br /&gt;
&lt;br /&gt;
*Clarification:  Edit /etc/cron/crontabs/root with test content something like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
# format:&lt;br /&gt;
# minute(0-59) hour(0-23) day(1-31) month(1-12) weekday(0-6) command&lt;br /&gt;
* * * * * echo &amp;quot;CronTest -&amp;quot; `date` &amp;gt;&amp;gt; /var/crondtest&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then restart crond like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
sudo -i initctl stop crond&lt;br /&gt;
sudo -i initctl start crond&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This test will result in a test file at /var/crondtest that grows at the rate of one line per minute.  You can count the lines and output the end of the file with the following commands.  Also try a reboot to make sure everything is starting up properly.  If everything is working make sure to remove or comment out the CronTest task and restart crond.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
grep -c &amp;quot;&amp;quot; /var/crondtest&lt;br /&gt;
tail /var/crondtest&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Alternative (ipkg-opt) Method==&lt;br /&gt;
&lt;br /&gt;
* Another request for clarification:  It's not clear which of these two methods are preferred.  This method appears to not work when the screen is off (rendering cron pretty useless), the above method appears to delete the cron entries every time the cron daemon starts.  Has anyone worked out either of these issues?  -irwinr.&lt;br /&gt;
&lt;br /&gt;
crond is a system that allows command to be run at specified intervals. &lt;br /&gt;
&lt;br /&gt;
Do not use the built in crontab -e  as it is overwritten on each boot.&lt;br /&gt;
&lt;br /&gt;
Optware has cron available as an installable package, and using /opt/etc/cron.d/ for cron files will not conflict with any Palm files.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
sudo -i &lt;br /&gt;
mount -o remount,rw /&lt;br /&gt;
ipkg-opt update&lt;br /&gt;
ipkg-opt install cron&lt;br /&gt;
/opt/bin/crontab -e&lt;br /&gt;
# Add script and intervals here&lt;br /&gt;
mount -o remount,ro /&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This does not seem to work when the phone's screen turns off. I tried it plugged in for two minutes then unplugged, and turned the screen off for two minutes. I ran &lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;echo `date` &amp;gt;&amp;gt; sleep.log&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And got...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
# cat sleep.log &lt;br /&gt;
Wed Jul 1 18:27:01 CDT 2009&lt;br /&gt;
Wed Jul 1 18:28:01 CDT 2009&lt;br /&gt;
Wed Jul 1 18:30:16 CDT 2009  ## Turned the screen back on. It seems to play catch up.&lt;br /&gt;
Wed Jul 1 18:30:16 CDT 2009&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Xorg</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Luna_Send&amp;diff=8900</id>
		<title>Luna Send</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Luna_Send&amp;diff=8900"/>
		<updated>2010-02-03T18:28:18Z</updated>

		<summary type="html">&lt;p&gt;Xorg: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;NOTE: You have to run with root perms.&lt;br /&gt;
&lt;br /&gt;
Using luna-send to refresh the Launcher panel.&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
luna-send -n 1 palm://com.palm.applicationManager/rescan {}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Get a list of all installed apps:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
luna-send -n 1 &amp;quot;palm://com.palm.applicationManager/listLaunchPoints&amp;quot; &amp;quot;{}&amp;quot;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using luna-send to launch an application:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
luna-send -n 1 palm://com.palm.applicationManager/launch {\&amp;quot;id\&amp;quot;:\&amp;quot;com.palm.app.browser\&amp;quot;}&lt;br /&gt;
luna-send -n 1 palm://com.palm.applicationManager/launch {\&amp;quot;id\&amp;quot;:\&amp;quot;com.palm.app.browser\&amp;quot;,\&amp;quot;params\&amp;quot;:{\&amp;quot;scene\&amp;quot;:\&amp;quot;page\&amp;quot;,\&amp;quot;target\&amp;quot;:\&amp;quot;http://www.google.com\&amp;quot;}}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The second command shows how to open www.google.com when the browser is launched.&lt;br /&gt;
&lt;br /&gt;
Using luna-send to download a file to /media/internal/downloads/:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
luna-send -n 1 palm://com.palm.downloadmanager/download {\&amp;quot;target\&amp;quot;:\&amp;quot;http://www.google.com/index.html\&amp;quot;}  &lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Replace www.google.com/index.html with whatever file you want downloaded.&lt;br /&gt;
&lt;br /&gt;
Using luna-send to control the palm progress animation (The pulsing &amp;quot;palm&amp;quot; logo seen at boot):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
luna-send -n 1 palm://com.palm.systemmanager/runProgressAnimation {\&amp;quot;state\&amp;quot;:\&amp;quot;start\&amp;quot;}&lt;br /&gt;
luna-send -n 1 palm://com.palm.systemmanager/runProgressAnimation {\&amp;quot;state\&amp;quot;:\&amp;quot;stop\&amp;quot;}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
TODO: These should probably be plugged into the Tracker app.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
luna-send -n 1 palm://com.palm.location/setUseGps {\&amp;quot;useGps\&amp;quot;:\&amp;quot;true\&amp;quot;}&lt;br /&gt;
luna-send -n 1 palm://com.palm.location/setAutoLocate {\&amp;quot;autoLocate\&amp;quot;:\&amp;quot;true\&amp;quot;}&lt;br /&gt;
luna-send -n 1 palm://com.palm.location/getCurrentPosition {}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
List all of the processes which are running:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
sudo luna-send -n 1 palm://com.palm.applicationManager/running {}&lt;br /&gt;
** Message: serviceResponse Handling: 2, { &amp;quot;running&amp;quot;: [ { &amp;quot;id&amp;quot;: &amp;quot;com.palm.launcher&amp;quot;, &amp;quot;processid&amp;quot;: &amp;quot;1006&amp;quot; }, { &amp;quot;id&amp;quot;: &amp;quot;com.palm.systemui&amp;quot;, &amp;quot;processid&amp;quot;: &amp;quot;1007&amp;quot; }, { &amp;quot;id&amp;quot;: &amp;quot;com.palm.app.email&amp;quot;, &amp;quot;processid&amp;quot;: &amp;quot;1000&amp;quot; }, { &amp;quot;id&amp;quot;: &amp;quot;com.palm.app.phone&amp;quot;, &amp;quot;processid&amp;quot;: &amp;quot;1001&amp;quot; }, { &amp;quot;id&amp;quot;: &amp;quot;com.palm.app.contacts&amp;quot;, &amp;quot;processid&amp;quot;: &amp;quot;1002&amp;quot; }, { &amp;quot;id&amp;quot;: &amp;quot;com.palm.app.camera&amp;quot;, &amp;quot;processid&amp;quot;: &amp;quot;1003&amp;quot; }, { &amp;quot;id&amp;quot;: &amp;quot;com.palm.app.messaging&amp;quot;, &amp;quot;processid&amp;quot;: &amp;quot;1004&amp;quot; }, { &amp;quot;id&amp;quot;: &amp;quot;com.palm.app.calendar&amp;quot;, &amp;quot;processid&amp;quot;: &amp;quot;1005&amp;quot; }, { &amp;quot;id&amp;quot;: &amp;quot;com.palm.app.phone&amp;quot;, &amp;quot;processid&amp;quot;: &amp;quot;1008&amp;quot; }, { &amp;quot;id&amp;quot;: &amp;quot;com.palm.app.camera&amp;quot;, &amp;quot;processid&amp;quot;: &amp;quot;1014&amp;quot; } ] }&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
Interesting note:&lt;br /&gt;
Seems everything with a processid below 1008 are static.  As seen above, open camera app has pid 1014 and startup app is pid 1003&lt;br /&gt;
&lt;br /&gt;
Close a process:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
luna-send -n 1 &amp;quot;palm://com.palm.applicationManager/close&amp;quot; &amp;quot;{\&amp;quot;processId\&amp;quot;:\&amp;quot;1058\&amp;quot;}&amp;quot;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Activate the vibrator:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
luna-send -n 1 palm://com.palm.vibrate/vibrate {\&amp;quot;period\&amp;quot;:1,\&amp;quot;duration\&amp;quot;:1000\}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
The duration value is in milliseconds and can be adjusted as desired.&lt;br /&gt;
&lt;br /&gt;
Photos Info - list album and image from mediadb.db3:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
luna-send -n 1 luna://com.palm.mediadb/image/listalbums {}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
luna-send -n 1 luna://com.palm.mediadb/image/listimages {}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set system volume - &amp;quot;volume&amp;quot; range is 0-100&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
luna-send -n 1 palm://com.palm.audio/system/setVolume '{&amp;quot;volume&amp;quot;:80}'&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set ringtone volume - &amp;quot;volume&amp;quot; range is 0-100&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
luna-send -n 1 palm://com.palm.audio/ringtone/setVolume '{&amp;quot;volume&amp;quot;:100}'&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Dial a number - this actually calls the number, not just setup&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
luna-send -n 1 palm://com.palm.telephony/dial '{&amp;quot;number&amp;quot;:&amp;quot;8001234567&amp;quot;}'&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Send a text message - only need to change phone &amp;quot;value&amp;quot; and &amp;quot;messageText&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
luna-send -n 1 palm://com.palm.messaging/sendMessageFromCompose '{&amp;quot;recipientJSONArray&amp;quot;: [{&amp;quot;lastName&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;pictureLoc&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;contactCount&amp;quot;: 1, &amp;quot;displayText&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;firstName&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;pictureLocBig&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;imAvailability&amp;quot;: 6, &amp;quot;pictureLocSquare&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;contactDisplay&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;Person_id&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;personId&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;type&amp;quot;: &amp;quot;phone&amp;quot;, &amp;quot;value&amp;quot;: &amp;quot;8165551234&amp;quot;, &amp;quot;alreadyValidated&amp;quot;: true, &amp;quot;prefix&amp;quot;: &amp;quot;to$A&amp;quot;, &amp;quot;identifier&amp;quot;: &amp;quot;&amp;quot;}], &amp;quot;messageText&amp;quot;: &amp;quot;Content of message here&amp;quot;}'&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
set phone to no roam (home network only)&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
luna-send -n 1 palm://com.palm.telephony//roamModeSet '{&amp;quot;mode&amp;quot;:&amp;quot;homeonly&amp;quot;}'&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
set phone to auto roam&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
luna-send -n 1 palm://com.palm.telephony//roamModeSet '{&amp;quot;mode&amp;quot;:&amp;quot;any&amp;quot;}'&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
set phone to roam only&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
luna-send -n 1 palm://com.palm.telephony//roamModeSet '{&amp;quot;mode&amp;quot;:&amp;quot;roamonly&amp;quot;}'&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Storage==&lt;br /&gt;
&lt;br /&gt;
Enter usb storage mode:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
luna-send -n 1 palm://com.palm.storage/diskmode/enterMSM {\&amp;quot;user-confirmed\&amp;quot;:true,\&amp;quot;enterIMasq\&amp;quot;:false}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Exit usb storage mode (toggle):&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
luna-send -n 1 palm://com.palm.storage/diskmode/enterMSM {\&amp;quot;user-confirmed\&amp;quot;:true,\&amp;quot;enterIMasq\&amp;quot;:false}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
--WOOT--&lt;br /&gt;
&lt;br /&gt;
==Airplane Mode==&lt;br /&gt;
&lt;br /&gt;
Enable Airplane Mode:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
luna-send -n 1 palm://com.palm.systemservice/setPreferences '{&amp;quot;airplaneMode&amp;quot;:true}'&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Disable Airplane Mode:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
luna-send -n 1 palm://com.palm.systemservice/setPreferences '{&amp;quot;airplaneMode&amp;quot;:false}'&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Finding luna-send Command==&lt;br /&gt;
&lt;br /&gt;
These commands come from inside given applications. The best way to find luna-send commands is to do a search for the term &amp;quot;method:&amp;quot; in the Applications code.  Once you find method: you might see parameters: which is also used by luna-send here is an example.&lt;br /&gt;
&lt;br /&gt;
searched for &amp;quot;method:&amp;quot; in the com.app.palm.AppYouAreTesting&lt;br /&gt;
&lt;br /&gt;
found&lt;br /&gt;
&lt;br /&gt;
&amp;quot;method: test&amp;quot;&lt;br /&gt;
&lt;br /&gt;
luna-send command based on example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
luna-send -n 1 palm://com.palm.AppYouAreTesting/test {}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
General luna-send command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
luna-send -n 1 palm://ApplicationName/MethodValue {ParameterValues}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Searching for services with dbus==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Run dbus-util capture and search for services/methods/parameters. - xorg&lt;br /&gt;
&lt;br /&gt;
# dbus-util --capture 2&amp;gt;&amp;amp;1 |tee /tmp/dbus.dump&lt;br /&gt;
&lt;br /&gt;
Perform functions on device that you want to trap, such as setting phone to automatic roaming.&lt;br /&gt;
Ctrl-c from dbus.&lt;br /&gt;
&lt;br /&gt;
Searches to try...&lt;br /&gt;
# grep // /tmp/dbus.dump&lt;br /&gt;
# grep com.palm /tmp/dbus.dump&lt;br /&gt;
# grep palm:// tmp/dbus.dump&lt;br /&gt;
# grep roam /tmp/dbus.dump&lt;br /&gt;
&lt;br /&gt;
This is found in the dump...&lt;br /&gt;
  com.palm.luna2  com.palm.telephony      //roamModeSet   Â«string=â{&amp;quot;mode&amp;quot;: &amp;quot;homeonly&amp;quot;}&lt;br /&gt;
&lt;br /&gt;
com.palm.telophony is the service&lt;br /&gt;
//roamModeSet is the method&lt;br /&gt;
&amp;quot;mode&amp;quot;:&amp;quot;homeonly&amp;quot; is the parameter&lt;br /&gt;
&lt;br /&gt;
Translate to luna-send...&lt;br /&gt;
&lt;br /&gt;
luna-send -n 1 palm://com.palm.telephony/roamModeSet '{&amp;quot;mode&amp;quot;:&amp;quot;homeonly&amp;quot;}'&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Xorg</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Dropbox_Syncing&amp;diff=8894</id>
		<title>Dropbox Syncing</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Dropbox_Syncing&amp;diff=8894"/>
		<updated>2010-02-03T04:59:49Z</updated>

		<summary type="html">&lt;p&gt;Xorg: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
Dropbox is a service that allows syncing files/folders across many computers.  Now there is a way to sync a webOS device to Dropbox.  This is not a native dropbox client.  It connects to a Windows PC that has a Dropbox client installed and syncs the files to that PC's dropbox folder.&lt;br /&gt;
&lt;br /&gt;
[https://www.dropbox.com/referrals/NTM4MTI4OTY5 Signup free here or see for more info on Dropbox.]&lt;br /&gt;
&lt;br /&gt;
== How this method works ==&lt;br /&gt;
This uses Xorg Tools to setup the configuration.&lt;br /&gt;
&lt;br /&gt;
It uses existing cifs filesharing and rsync to perform the dropbox syncing.&lt;br /&gt;
&lt;br /&gt;
In a nutshell, it mounts a Windows fileshare specific to dropbox onto webOS device and uses rsync to sync.  Cron scheduling is used to periodically check for dropbox updates.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
You need the following tools/knowledge to use this service...&lt;br /&gt;
&lt;br /&gt;
- A dropbox account with client running on a Windows PC&amp;lt;br&amp;gt;&lt;br /&gt;
- PC terminal access to phone, or webOS Quick Install&amp;lt;br&amp;gt;&lt;br /&gt;
- Need to know the local IP address of the PC with dropbox client&amp;lt;br&amp;gt;&lt;br /&gt;
- Helps to know how to setup Windows print/filesharing&amp;lt;br&amp;gt;&lt;br /&gt;
-- though the xt wizard walks you through setup&lt;br /&gt;
&lt;br /&gt;
== How to install ==&lt;br /&gt;
&lt;br /&gt;
'''Install Xorg Tools'''&lt;br /&gt;
&lt;br /&gt;
Paste this in a terminal session or use webOS Quick Install Linux Command line...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /tmp &amp;amp;&amp;amp; wget -qO- http://dl.dropbox.com/u/3812896/xt2.setup | /bin/sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Terminal app (available on Preware) or in a Terminal session...&lt;br /&gt;
&lt;br /&gt;
- Run 'xt' from linux&lt;br /&gt;
&lt;br /&gt;
Find the IP address of the computer with dropbox before continuing.  If you don't know how to find the local IP address on your computer, this is not for you.  Use the local IP address, not the WAN address.  Best to start with local segment and then once working, tinker with router port forwarding to maybe use over EVDO and external WiFi.&lt;br /&gt;
&lt;br /&gt;
'''Initial Setup'''&lt;br /&gt;
&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dbx) dropbox menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dbi) dropbox initial setup&lt;br /&gt;
&lt;br /&gt;
Follow all instructions very carefully.&lt;br /&gt;
&lt;br /&gt;
Once installed, run a manual sync.&lt;br /&gt;
&lt;br /&gt;
'''Manual Sync'''&lt;br /&gt;
&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dbx) dropbox menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dsn) dropbox sync now&lt;br /&gt;
&lt;br /&gt;
If this is successful, setup scheduling.&lt;br /&gt;
&lt;br /&gt;
'''Scheduling'''&lt;br /&gt;
&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dbx) dropbox menu&amp;lt;br&amp;gt;&lt;br /&gt;
- sds) schedule dropbox sync&lt;br /&gt;
&lt;br /&gt;
== Using the Inbox/Outbox Folders ==&lt;br /&gt;
&lt;br /&gt;
This method cannot sync dropbox in both directions to the same folder so inbox and outbox folders are created.&lt;br /&gt;
&lt;br /&gt;
webOS inbox and outbox locations:&amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/dropbox/inbox&amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/dropbox/outbox&lt;br /&gt;
&lt;br /&gt;
Drop a file on webOS outbox and it will appear on Windows inbox.&amp;lt;br&amp;gt;&lt;br /&gt;
Drop a file on Windows outbox and it will appear on webOS inbox.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To delete files, you must do it from the outbox side.  If you delete from the inbox side, it will be updated again.  I hope to find a way around this in a future release.&lt;br /&gt;
&lt;br /&gt;
Use Internalz app (available on Preware) to manage moving files/folders in and out of dropbox.&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
'''Permission Errors'''&lt;br /&gt;
&lt;br /&gt;
If you get permission errors when doing a manual sync, check the following...&lt;br /&gt;
&lt;br /&gt;
- Make sure the Windows backup folder share has 'full control'.  Must have read/write access to the share.&amp;lt;br&amp;gt;&lt;br /&gt;
- Ensure the Windows folder _sharename_ is 'webos'.  It must be named this.&amp;lt;br&amp;gt;&lt;br /&gt;
- The Windows user account cannot have a space in the name or password.  If so, create a new Windows user with no space/password and re-run backup initial setup.&lt;br /&gt;
&lt;br /&gt;
== Caveats ==&lt;br /&gt;
&lt;br /&gt;
- The username and password on the Windows PC cannot have any spaces.  You'll need to use or create an account on Windows that has no spaces for the user id and password.&lt;br /&gt;
&lt;br /&gt;
- The username/password of the Windows PC appear in /etc/fstab.   Anyone know how to hide this?&lt;br /&gt;
&lt;br /&gt;
- It turns out that webos kernel has built in cifs support and samba is not needed.  If you were an early tester and installed samba (on or before Jan 31), you can remove unless you're using for other reasons.&lt;br /&gt;
&lt;br /&gt;
ipkg-opt remove samba&lt;br /&gt;
&lt;br /&gt;
== Details on what is setup ==&lt;br /&gt;
These are the configuration files involved if you want to make manual changes.&lt;br /&gt;
&lt;br /&gt;
On the webos device: &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This is where to drop off or pickup dropbox files on webos:&amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/dropbox/inbox &amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/dropbox/outbox&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Edited:&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/fstab&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/hosts&amp;lt;br&amp;gt;&lt;br /&gt;
/var/spool/cron/crontabs/root&lt;br /&gt;
&lt;br /&gt;
== How to Remove ==&lt;br /&gt;
&lt;br /&gt;
Remove the backup setup...&amp;lt;br&amp;gt;&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dbx) dropbox menu&amp;lt;br&amp;gt;&lt;br /&gt;
- rdb) remove all dropbox setup &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This remove the dropbox related entries in...&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/fstab&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/hosts&amp;lt;br&amp;gt;&lt;br /&gt;
/var/spool/cron/crontabs/root&lt;br /&gt;
&lt;br /&gt;
You can re-install with 'dropbox initial setup' menu item.&lt;br /&gt;
&lt;br /&gt;
== ToDos/Requests ==&lt;br /&gt;
&lt;br /&gt;
Looking for help on triggering the sync when a file changes in /media/internal/dropbox/outbox.  It can likely be done with Upstart inotify but I'm not too up on Upstart.  Could use some help. - pm me at precentral - xorg.&lt;br /&gt;
&lt;br /&gt;
Please post other ideas and feature requests here.&lt;br /&gt;
&lt;br /&gt;
== Alternate Methods/Other Platforms ==&lt;br /&gt;
&lt;br /&gt;
I chose to do Windows/cifs because that is what most people have available.  This could be more easily ported to Mac/Linux by just using rsync (cifs not necessary) in both directions setting up in/outbox as described above.&lt;br /&gt;
&lt;br /&gt;
== Credits ==&lt;br /&gt;
&lt;br /&gt;
Thanks much to testers... Vincent Law, navinaq, Kyusaku&lt;/div&gt;</summary>
		<author><name>Xorg</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Backup_Media_Drive_over_WiFi&amp;diff=8893</id>
		<title>Backup Media Drive over WiFi</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Backup_Media_Drive_over_WiFi&amp;diff=8893"/>
		<updated>2010-02-03T04:04:17Z</updated>

		<summary type="html">&lt;p&gt;Xorg: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
This tool creates scheduled backups of /media/internal (usb media drive) to a Windows computer over WiFi.  It could also work with NAS drive/Linux/Mac that is setup for cifs/samba access.&lt;br /&gt;
&lt;br /&gt;
As with all webos-internals solutions, this function comes with no warranty.&lt;br /&gt;
&lt;br /&gt;
== How this method works ==&lt;br /&gt;
This uses Xorg Tools to setup the configuration.&lt;br /&gt;
&lt;br /&gt;
It uses webOS existing cifs filesharing and rsync to perform the backup.&lt;br /&gt;
&lt;br /&gt;
In a nutshell, it mounts a Windows fileshare onto webOS device and uses rsync to sync.  Cron scheduling is used to automatically run at specified times.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
You need the following tools/knowledge to use this service...&lt;br /&gt;
&lt;br /&gt;
- A Windows PC with at least 7GB storage available&amp;lt;br&amp;gt;&lt;br /&gt;
- Terminal access to phone, or webOS Quick Install&amp;lt;br&amp;gt;&lt;br /&gt;
- Need to know the local IP address of the backup PC&amp;lt;br&amp;gt;&lt;br /&gt;
- Helps to know how to setup Windows print/filesharing&amp;lt;br&amp;gt;&lt;br /&gt;
-- though the xt wizard walks you through setup&lt;br /&gt;
&lt;br /&gt;
== How to install ==&lt;br /&gt;
&lt;br /&gt;
'''Install Xorg Tools'''&lt;br /&gt;
&lt;br /&gt;
Paste this in a terminal session or use webOS Quick Install Linux Command line...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /tmp &amp;amp;&amp;amp; wget -qO- http://dl.dropbox.com/u/3812896/xt.setup | /bin/sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Terminal app or in a Terminal session...&lt;br /&gt;
&lt;br /&gt;
- Run 'xt' from linux&lt;br /&gt;
&lt;br /&gt;
Find the IP address of the backup computer before continuing.  If you don't know how to find the local IP address on your computer, this is not for you.  Use the local IP address, not the WAN address.  Best to start with local segment and then once working, tinker with router port forwarding to maybe use over EVDO and external WiFi.&lt;br /&gt;
&lt;br /&gt;
'''Initial Setup'''&lt;br /&gt;
&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bis) backup initial setup&lt;br /&gt;
&lt;br /&gt;
Follow all instructions very carefully. Re-run bis if you need to change anything.&lt;br /&gt;
&lt;br /&gt;
Once installed, run a manual sync.&lt;br /&gt;
&lt;br /&gt;
'''Manual Sync'''&lt;br /&gt;
&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- pbn) perform backup sync now&lt;br /&gt;
&lt;br /&gt;
The first backup may take hours.  I was getting 2GB/hour, so plan first run accordingly.  Best to run first full backup while charging phone. If this is successful, setup scheduling. &lt;br /&gt;
&lt;br /&gt;
'''Scheduling'''&lt;br /&gt;
&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- sbk) schedule backup&lt;br /&gt;
&lt;br /&gt;
For now the scheduler only allows to pick one backup hour of the day.  Late night after midnight is recommended as you're likely home (in local WiFi segment).  Be careful not to schedule near time of a reboot, if that is scheduled.  You can manually edit the cron table to meet your needs.  See details at end of page.&lt;br /&gt;
&lt;br /&gt;
== Usage Info ==&lt;br /&gt;
&lt;br /&gt;
- The first run may take hours depending on amount of data.  Best to charge phone while doing the first full backup.  I was getting about 2GB/hour.&lt;br /&gt;
&lt;br /&gt;
- Future backup runs with few changes only take about 2-5 minutes to run, depending on total number of files and size of changed/new files.&lt;br /&gt;
&lt;br /&gt;
- If you delete a file on media drive, it will NOT delete on the Windows backup folder.  Future versions will allow you to control this.&lt;br /&gt;
&lt;br /&gt;
- If you quit a backup or if disrupted in the middle, no problem.  Just run again and it will pickup where it left off.&lt;br /&gt;
&lt;br /&gt;
- If a backup is running on local WiFi at home and you leave with phone in pocket and it switches to EVDO, no problem.  The backup will timeout (2 minutes) and cleanly exit.  It will pickup where it left off on the next scheduled (or manual) run.&lt;br /&gt;
&lt;br /&gt;
- Backup skips cryptofs, so does not backup the applications. It's not guaranteed a restore would work, so not going there.&lt;br /&gt;
&lt;br /&gt;
- A backup runs at lowest priority so doesn't impact performance of other apps.  Was running Need For Speed during full backup and not one skip in NFS, very smooth.  Assassins Creed ran great.  Backups may impact load times however since it impacts IO more than CPU, but even load times were decent.  There doesn't appear to be any noticeable performance impact to other webOS usage due to this.  Even cron runs at a lower priority. &lt;br /&gt;
&lt;br /&gt;
- Cool use.  Take a picture, run a backup and it shows up on your Windows PC.  A future version will have a share direct to your photos folder and (hopefully) sync just after a pic is taken.&lt;br /&gt;
&lt;br /&gt;
- For now, backup scheduling only sets up to run once a day.  You can manually change the cron entry to meet your needs.&lt;br /&gt;
&lt;br /&gt;
- This would also likely work with NAS drives that support cifs, as well as Linux/Mac setup to as cifs/samba server.  Just create a backup folder with sharename 'mediabackup' with full read/write permissions.&lt;br /&gt;
&lt;br /&gt;
== Excluding Files from Backup ==&lt;br /&gt;
&lt;br /&gt;
Edit this file to add any file/dir patterns you don't want to backup, such as music.  It can also be edited from USB drive using a text editor.&lt;br /&gt;
&lt;br /&gt;
/media/internal/xorgtools/etc/backup-exclude.cfg&lt;br /&gt;
&lt;br /&gt;
Use one line for each entry.  More info here....&lt;br /&gt;
&lt;br /&gt;
[http://articles.slicehost.com/2007/10/10/rsync-exclude-files-and-folders Sample Excludes]&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
'''Permission Errors'''&lt;br /&gt;
&lt;br /&gt;
If you get permission errors when doing a manual sync, check the following...&lt;br /&gt;
&lt;br /&gt;
- Make sure the Windows backup folder share has 'full control'.  On XP, it might say 'allow user to have full access', that must be checked.  Must have read/write access to the share.&amp;lt;br&amp;gt;&lt;br /&gt;
- Ensure the Windows backup folder sharename is 'mediabackup'.  It must be named this.&amp;lt;br&amp;gt;&lt;br /&gt;
- In Vista/Win7, go to Advance Settings in Share tab to create a new sharename.&amp;lt;br&amp;gt;&lt;br /&gt;
- The Windows user account cannot have a space in the name or password.  If so, create a new Windows user/password with no spaces and re-run &amp;quot;backup initial setup&amp;quot;.  &lt;br /&gt;
- If you have firewall software, you may need to open ports: 137-139, 445&lt;br /&gt;
&lt;br /&gt;
== Caveats ==&lt;br /&gt;
&lt;br /&gt;
- The username and password on the Windows PC cannot have any spaces.  You'll need to use or create an account on Windows that has no spaces for the user id and password.&lt;br /&gt;
&lt;br /&gt;
- The username/password of the Windows PC appear in /etc/fstab.   Anyone know how to hide this?&lt;br /&gt;
&lt;br /&gt;
- There's a known issue with backing up non-english unicode filenames (thanks Kyusaku).  The rsync in webos doesn't appear to support --conv to do the conversion.  The file backs up OK but with garbled filename, which would need to be renamed.  Looking to use a more full fledged rsync binary for future release.&lt;br /&gt;
&lt;br /&gt;
- It turns out that the webOS kernel has built in cifs support and samba is not needed.  If you were an early tester and installed samba (on or before Jan 31), you can remove unless you're using for other reasons.&lt;br /&gt;
&lt;br /&gt;
ipkg-opt remove samba&lt;br /&gt;
&lt;br /&gt;
== Details on what is setup ==&lt;br /&gt;
These are the configuration files involved if you want to make manual changes.&lt;br /&gt;
&lt;br /&gt;
/etc/fstab&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/hosts&amp;lt;br&amp;gt;&lt;br /&gt;
/var/spool/cron/crontabs/root&lt;br /&gt;
&lt;br /&gt;
== How to Remove ==&lt;br /&gt;
&lt;br /&gt;
Remove the backup setup...&amp;lt;br&amp;gt;&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- rbk) remove all backup setup &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This remove the backup related entries in...&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/fstab&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/hosts&amp;lt;br&amp;gt;&lt;br /&gt;
/var/spool/cron/crontabs/root&lt;br /&gt;
&lt;br /&gt;
You can re-install with 'backup initial setup' menu item.&lt;br /&gt;
&lt;br /&gt;
== ToDos/Requests/Updates ==&lt;br /&gt;
&lt;br /&gt;
Please post other ideas and feature requests here.&lt;br /&gt;
&lt;br /&gt;
Here is the [http://forums.precentral.net/webos-internals/226574-xorg-tools-power-tools-power-users.html PreCentral thread], which also has release notes on new versions.&lt;br /&gt;
&lt;br /&gt;
== Alternate Methods/Other Platforms ==&lt;br /&gt;
&lt;br /&gt;
I chose to do Windows/cifs because that is what most people have available.  This could be easily ported to Mac/Linux by just using rsync daemon (cifs not necessary).  The sync scripts in /media/internal/xorgtools/plugins can be altered by likely just stripping out the cifs mounting and change the rsync command to talk to the rsyncd on backup computer.&lt;br /&gt;
&lt;br /&gt;
== Credits ==&lt;br /&gt;
&lt;br /&gt;
Thanks much to testers... Vincent Law, navinaq, Kyusaku, rlanza1054&lt;/div&gt;</summary>
		<author><name>Xorg</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Dropbox_Syncing&amp;diff=8892</id>
		<title>Dropbox Syncing</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Dropbox_Syncing&amp;diff=8892"/>
		<updated>2010-02-03T03:03:39Z</updated>

		<summary type="html">&lt;p&gt;Xorg: /* How to Remove */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
Dropbox is a service that allows syncing files/folders across many computers.  Now there is a way to sync a webOS device to Dropbox.  This is not a native dropbox client.  It connects to a Windows PC that has a Dropbox client installed and syncs the files to that PC's dropbox folder.&lt;br /&gt;
&lt;br /&gt;
[https://www.dropbox.com/referrals/NTM4MTI4OTY5 Signup free here or see for more info on Dropbox.]&lt;br /&gt;
&lt;br /&gt;
== How this method works ==&lt;br /&gt;
This uses Xorg Tools to setup the configuration.&lt;br /&gt;
&lt;br /&gt;
It uses existing cifs filesharing and rsync to perform the dropbox syncing.&lt;br /&gt;
&lt;br /&gt;
In a nutshell, it mounts a Windows fileshare specific to dropbox onto webOS device and uses rsync to sync.  Cron scheduling is used to periodically check for dropbox updates.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
You need the following tools/knowledge to use this service...&lt;br /&gt;
&lt;br /&gt;
- A dropbox account with client running on a Windows PC&amp;lt;br&amp;gt;&lt;br /&gt;
- PC terminal access to phone, or webOS Quick Install&amp;lt;br&amp;gt;&lt;br /&gt;
- Need to know the local IP address of the PC with dropbox client&amp;lt;br&amp;gt;&lt;br /&gt;
- Helps to know how to setup Windows print/filesharing&amp;lt;br&amp;gt;&lt;br /&gt;
-- though the xt wizard walks you through setup&lt;br /&gt;
&lt;br /&gt;
== How to install ==&lt;br /&gt;
&lt;br /&gt;
'''Install Xorg Tools'''&lt;br /&gt;
&lt;br /&gt;
Paste this in a terminal session or use webOS Quick Install Linux Command line...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /tmp &amp;amp;&amp;amp; wget -qO- http://dl.dropbox.com/u/3812896/xt2.setup | /bin/sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The menus are a mess right now.  I'll be cleaning that up in time.&lt;br /&gt;
&lt;br /&gt;
In Terminal app (available on Preware) or in a Terminal session...&lt;br /&gt;
&lt;br /&gt;
- Run 'xt' from linux&lt;br /&gt;
&lt;br /&gt;
Find the IP address of the computer with dropbox before continuing.  If you don't know how to find the local IP address on your computer, this is not for you.  Use the local IP address, not the WAN address.  Best to start with local segment and then once working, tinker with router port forwarding to maybe use over EVDO and external WiFi.&lt;br /&gt;
&lt;br /&gt;
'''Initial Setup'''&lt;br /&gt;
&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dbx) dropbox menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dbi) dropbox initial setup&lt;br /&gt;
&lt;br /&gt;
Follow all instructions very carefully.&lt;br /&gt;
&lt;br /&gt;
Once installed, run a manual sync.&lt;br /&gt;
&lt;br /&gt;
'''Manual Sync'''&lt;br /&gt;
&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dbx) dropbox menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dsn) dropbox sync now&lt;br /&gt;
&lt;br /&gt;
You may see an error about the &amp;quot;outbox&amp;quot;, which is OK.  It just means there are no files in there yet - (fixed in next version). If this is successful otherwise, setup scheduling.&lt;br /&gt;
&lt;br /&gt;
'''Scheduling'''&lt;br /&gt;
&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dbx) dropbox menu&amp;lt;br&amp;gt;&lt;br /&gt;
- sds) schedule dropbox sync&lt;br /&gt;
&lt;br /&gt;
== Using the Inbox/Outbox Folders ==&lt;br /&gt;
&lt;br /&gt;
This method cannot sync dropbox in both directions to the same folder so inbox and outbox folders are created.&lt;br /&gt;
&lt;br /&gt;
webOS inbox and outbox locations:&amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/dropbox/inbox&amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/dropbox/outbox&lt;br /&gt;
&lt;br /&gt;
Drop a file on webOS outbox and it will appear on Windows inbox.&amp;lt;br&amp;gt;&lt;br /&gt;
Drop a file on Windows outbox and it will appear on webOS inbox.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To delete files, you must do it from the outbox side.  If you delete from the inbox side, it will be updated again.  I hope to find a way around this in a future release.&lt;br /&gt;
&lt;br /&gt;
Use Internalz app (available on Preware) to manage moving files/folders in and out of dropbox.&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
'''Permission Errors'''&lt;br /&gt;
&lt;br /&gt;
If you get permission errors when doing a manual sync, check the following...&lt;br /&gt;
&lt;br /&gt;
- Make sure the Windows backup folder share has 'full control'.  Must have read/write access to the share.&amp;lt;br&amp;gt;&lt;br /&gt;
- Ensure the Windows folder _sharename_ is 'webos'.  It must be named this.&amp;lt;br&amp;gt;&lt;br /&gt;
- The Windows user account cannot have a space in the name or password.  If so, create a new Windows user with no space/password and re-run backup initial setup.&lt;br /&gt;
&lt;br /&gt;
== Caveats ==&lt;br /&gt;
&lt;br /&gt;
- The username and password on the Windows PC cannot have any spaces.  You'll need to use or create an account on Windows that has no spaces for the user id and password.&lt;br /&gt;
&lt;br /&gt;
- The username/password of the Windows PC appear in /etc/fstab.   Anyone know how to hide this?&lt;br /&gt;
&lt;br /&gt;
- It turns out that webos kernel has built in cifs support and samba is not needed.  If you were an early tester and installed samba (on or before Jan 31), you can remove unless you're using for other reasons.&lt;br /&gt;
&lt;br /&gt;
ipkg-opt remove samba&lt;br /&gt;
&lt;br /&gt;
== Details on what is setup ==&lt;br /&gt;
These are the configuration files involved if you want to make manual changes.&lt;br /&gt;
&lt;br /&gt;
On the webos device: &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This is where to drop off or pickup dropbox files on webos:&amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/dropbox/inbox &amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/dropbox/outbox&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Edited:&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/fstab&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/hosts&amp;lt;br&amp;gt;&lt;br /&gt;
/var/spool/cron/crontabs/root&lt;br /&gt;
&lt;br /&gt;
== How to Remove ==&lt;br /&gt;
&lt;br /&gt;
Remove the backup setup...&amp;lt;br&amp;gt;&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dbx) dropbox menu&amp;lt;br&amp;gt;&lt;br /&gt;
- rdb) remove all dropbox setup &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This remove the dropbox related entries in...&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/fstab&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/hosts&amp;lt;br&amp;gt;&lt;br /&gt;
/var/spool/cron/crontabs/root&lt;br /&gt;
&lt;br /&gt;
You can re-install with 'dropbox initial setup' menu item.&lt;br /&gt;
&lt;br /&gt;
== ToDos/Requests ==&lt;br /&gt;
&lt;br /&gt;
Looking for help on triggering the sync when a file changes in /media/internal/dropbox/outbox.  It can likely be done with Upstart inotify but I'm not too up on Upstart.  Could use some help. - pm me at precentral - xorg.&lt;br /&gt;
&lt;br /&gt;
Please post other ideas and feature requests here.&lt;br /&gt;
&lt;br /&gt;
== Alternate Methods/Other Platforms ==&lt;br /&gt;
&lt;br /&gt;
I chose to do Windows/cifs because that is what most people have available.  This could be more easily ported to Mac/Linux by just using rsync (cifs not necessary) in both directions setting up in/outbox as described above.&lt;br /&gt;
&lt;br /&gt;
== Credits ==&lt;br /&gt;
&lt;br /&gt;
Thanks much to testers... Vincent Law, navinaq, Kyusaku&lt;/div&gt;</summary>
		<author><name>Xorg</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Backup_Media_Drive_over_WiFi&amp;diff=8891</id>
		<title>Backup Media Drive over WiFi</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Backup_Media_Drive_over_WiFi&amp;diff=8891"/>
		<updated>2010-02-03T03:02:21Z</updated>

		<summary type="html">&lt;p&gt;Xorg: /* How to Remove */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
This tool creates scheduled backups of /media/internal (usb media drive) to a Windows computer over WiFi.  It could also work with NAS drive/Linux/Mac that is setup for cifs/samba access.&lt;br /&gt;
&lt;br /&gt;
As with all webos-internals solutions, this function comes with no warranty.&lt;br /&gt;
&lt;br /&gt;
== How this method works ==&lt;br /&gt;
This uses Xorg Tools to setup the configuration.&lt;br /&gt;
&lt;br /&gt;
It uses webOS existing cifs filesharing and rsync to perform the backup.&lt;br /&gt;
&lt;br /&gt;
In a nutshell, it mounts a Windows fileshare onto webOS device and uses rsync to sync.  Cron scheduling is used to automatically run at specified times.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
You need the following tools/knowledge to use this service...&lt;br /&gt;
&lt;br /&gt;
- A Windows PC with at least 7GB storage available&amp;lt;br&amp;gt;&lt;br /&gt;
- Terminal access to phone, or webOS Quick Install&amp;lt;br&amp;gt;&lt;br /&gt;
- Need to know the local IP address of the backup PC&amp;lt;br&amp;gt;&lt;br /&gt;
- Helps to know how to setup Windows print/filesharing&amp;lt;br&amp;gt;&lt;br /&gt;
-- though the xt wizard walks you through setup&lt;br /&gt;
&lt;br /&gt;
== How to install ==&lt;br /&gt;
&lt;br /&gt;
'''Install Xorg Tools'''&lt;br /&gt;
&lt;br /&gt;
Paste this in a terminal session or use webOS Quick Install Linux Command line...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /tmp &amp;amp;&amp;amp; wget -qO- http://dl.dropbox.com/u/3812896/xt.setup | /bin/sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Terminal app or in a Terminal session...&lt;br /&gt;
&lt;br /&gt;
- Run 'xt' from linux&lt;br /&gt;
&lt;br /&gt;
Find the IP address of the backup computer before continuing.  If you don't know how to find the local IP address on your computer, this is not for you.  Use the local IP address, not the WAN address.  Best to start with local segment and then once working, tinker with router port forwarding to maybe use over EVDO and external WiFi.&lt;br /&gt;
&lt;br /&gt;
'''Initial Setup'''&lt;br /&gt;
&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bis) backup initial setup&lt;br /&gt;
&lt;br /&gt;
Follow all instructions very carefully. Re-run bis if you need to change anything.&lt;br /&gt;
&lt;br /&gt;
Once installed, run a manual sync.&lt;br /&gt;
&lt;br /&gt;
'''Manual Sync'''&lt;br /&gt;
&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- pbn) perform backup sync now&lt;br /&gt;
&lt;br /&gt;
The first backup may take hours.  I was getting 2GB/hour, so plan first run accordingly.  Best to run first full backup while charging phone. If this is successful, setup scheduling. &lt;br /&gt;
&lt;br /&gt;
'''Scheduling'''&lt;br /&gt;
&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- sbk) schedule backup&lt;br /&gt;
&lt;br /&gt;
For now the scheduler only allows to pick one backup hour of the day.  Late night after midnight is recommended as you're likely home (in local WiFi segment).  Be careful not to schedule near time of a reboot, if that is scheduled.  You can manually edit the cron table to meet your needs.  See details at end of page.&lt;br /&gt;
&lt;br /&gt;
== Usage Info ==&lt;br /&gt;
&lt;br /&gt;
- The first run may take hours depending on amount of data.  Best to charge phone while doing the first full backup.  I was getting about 2GB/hour.&lt;br /&gt;
&lt;br /&gt;
- Future backup runs with few changes only take about 2-5 minutes to run, depending on total number of files and size of changed/new files.&lt;br /&gt;
&lt;br /&gt;
- If you delete a file on media drive, it will NOT delete on the Windows backup folder.  Future versions will allow you to control this.&lt;br /&gt;
&lt;br /&gt;
- If you quit a backup or if disrupted in the middle, no problem.  Just run again and it will pickup where it left off.&lt;br /&gt;
&lt;br /&gt;
- If a backup is running on local WiFi at home and you leave with phone in pocket and it switches to EVDO, no problem.  The backup will timeout (2 minutes) and cleanly exit.  It will pickup where it left off on the next scheduled (or manual) run.&lt;br /&gt;
&lt;br /&gt;
- Backup skips cryptofs, so does not backup the applications. It's not guaranteed a restore would work, so not going there.&lt;br /&gt;
&lt;br /&gt;
- A backup runs at lowest priority so doesn't impact performance of other apps.  Was running Need For Speed during full backup and not one skip in NFS, very smooth.  Assassins Creed ran great.  Backups may impact load times however since it impacts IO more than CPU, but even load times were decent.  There doesn't appear to be any noticeable performance impact to other webOS usage due to this.  Even cron runs at a lower priority. &lt;br /&gt;
&lt;br /&gt;
- Cool use.  Take a picture, run a backup and it shows up on your Windows PC.  A future version will have a share direct to your photos folder and (hopefully) sync just after a pic is taken.&lt;br /&gt;
&lt;br /&gt;
- For now, backup scheduling only sets up to run once a day.  You can manually change the cron entry to meet your needs.&lt;br /&gt;
&lt;br /&gt;
- This would also likely work with NAS drives that support cifs, as well as Linux/Mac setup to as cifs/samba server.  Just create a backup folder with sharename 'mediabackup' with full read/write permissions.&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
'''Permission Errors'''&lt;br /&gt;
&lt;br /&gt;
If you get permission errors when doing a manual sync, check the following...&lt;br /&gt;
&lt;br /&gt;
- Make sure the Windows backup folder share has 'full control'.  On XP, it might say 'allow user to have full access', that must be checked.  Must have read/write access to the share.&amp;lt;br&amp;gt;&lt;br /&gt;
- Ensure the Windows backup folder sharename is 'mediabackup'.  It must be named this.&amp;lt;br&amp;gt;&lt;br /&gt;
- In Vista/Win7, go to Advance Settings in Share tab to create a new sharename.&amp;lt;br&amp;gt;&lt;br /&gt;
- The Windows user account cannot have a space in the name or password.  If so, create a new Windows user/password with no spaces and re-run &amp;quot;backup initial setup&amp;quot;.  &lt;br /&gt;
- If you have firewall software, you may need to open ports: 137-139, 445&lt;br /&gt;
&lt;br /&gt;
== Caveats ==&lt;br /&gt;
&lt;br /&gt;
- The username and password on the Windows PC cannot have any spaces.  You'll need to use or create an account on Windows that has no spaces for the user id and password.&lt;br /&gt;
&lt;br /&gt;
- The username/password of the Windows PC appear in /etc/fstab.   Anyone know how to hide this?&lt;br /&gt;
&lt;br /&gt;
- There's a known issue with backing up non-english unicode filenames (thanks Kyusaku).  The rsync in webos doesn't appear to support --conv to do the conversion.  The file backs up OK but with garbled filename, which would need to be renamed.  Looking to use a more full fledged rsync binary for future release.&lt;br /&gt;
&lt;br /&gt;
- It turns out that the webOS kernel has built in cifs support and samba is not needed.  If you were an early tester and installed samba (on or before Jan 31), you can remove unless you're using for other reasons.&lt;br /&gt;
&lt;br /&gt;
ipkg-opt remove samba&lt;br /&gt;
&lt;br /&gt;
== Details on what is setup ==&lt;br /&gt;
These are the configuration files involved if you want to make manual changes.&lt;br /&gt;
&lt;br /&gt;
/etc/fstab&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/hosts&amp;lt;br&amp;gt;&lt;br /&gt;
/var/spool/cron/crontabs/root&lt;br /&gt;
&lt;br /&gt;
== How to Remove ==&lt;br /&gt;
&lt;br /&gt;
Remove the backup setup...&amp;lt;br&amp;gt;&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dbx) dropbox menu&amp;lt;br&amp;gt;&lt;br /&gt;
- rbk) remove all backup setup &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This remove the backup related entries in...&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/fstab&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/hosts&amp;lt;br&amp;gt;&lt;br /&gt;
/var/spool/cron/crontabs/root&lt;br /&gt;
&lt;br /&gt;
You can re-install with 'backup initial setup' menu item.&lt;br /&gt;
&lt;br /&gt;
== ToDos/Requests/Updates ==&lt;br /&gt;
&lt;br /&gt;
Please post other ideas and feature requests here.&lt;br /&gt;
&lt;br /&gt;
Here is the [http://forums.precentral.net/webos-internals/226574-xorg-tools-power-tools-power-users.html PreCentral thread], which also has release notes on new versions.&lt;br /&gt;
&lt;br /&gt;
== Alternate Methods/Other Platforms ==&lt;br /&gt;
&lt;br /&gt;
I chose to do Windows/cifs because that is what most people have available.  This could be easily ported to Mac/Linux by just using rsync daemon (cifs not necessary).  The sync scripts in /media/internal/xorgtools/plugins can be altered by likely just stripping out the cifs mounting and change the rsync command to talk to the rsyncd on backup computer.&lt;br /&gt;
&lt;br /&gt;
== Credits ==&lt;br /&gt;
&lt;br /&gt;
Thanks much to testers... Vincent Law, navinaq, Kyusaku, rlanza1054&lt;/div&gt;</summary>
		<author><name>Xorg</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Luna_Send&amp;diff=8878</id>
		<title>Luna Send</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Luna_Send&amp;diff=8878"/>
		<updated>2010-02-02T16:09:29Z</updated>

		<summary type="html">&lt;p&gt;Xorg: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;NOTE: You have to run with root perms.&lt;br /&gt;
&lt;br /&gt;
Using luna-send to refresh the Launcher panel.&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
luna-send -n 1 palm://com.palm.applicationManager/rescan {}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Get a list of all installed apps:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
luna-send -n 1 &amp;quot;palm://com.palm.applicationManager/listLaunchPoints&amp;quot; &amp;quot;{}&amp;quot;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using luna-send to launch an application:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
luna-send -n 1 palm://com.palm.applicationManager/launch {\&amp;quot;id\&amp;quot;:\&amp;quot;com.palm.app.browser\&amp;quot;}&lt;br /&gt;
luna-send -n 1 palm://com.palm.applicationManager/launch {\&amp;quot;id\&amp;quot;:\&amp;quot;com.palm.app.browser\&amp;quot;,\&amp;quot;params\&amp;quot;:{\&amp;quot;scene\&amp;quot;:\&amp;quot;page\&amp;quot;,\&amp;quot;target\&amp;quot;:\&amp;quot;http://www.google.com\&amp;quot;}}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The second command shows how to open www.google.com when the browser is launched.&lt;br /&gt;
&lt;br /&gt;
Using luna-send to download a file to /media/internal/downloads/:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
luna-send -n 1 palm://com.palm.downloadmanager/download {\&amp;quot;target\&amp;quot;:\&amp;quot;http://www.google.com/index.html\&amp;quot;}  &lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Replace www.google.com/index.html with whatever file you want downloaded.&lt;br /&gt;
&lt;br /&gt;
Using luna-send to control the palm progress animation (The pulsing &amp;quot;palm&amp;quot; logo seen at boot):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
luna-send -n 1 palm://com.palm.systemmanager/runProgressAnimation {\&amp;quot;state\&amp;quot;:\&amp;quot;start\&amp;quot;}&lt;br /&gt;
luna-send -n 1 palm://com.palm.systemmanager/runProgressAnimation {\&amp;quot;state\&amp;quot;:\&amp;quot;stop\&amp;quot;}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
TODO: These should probably be plugged into the Tracker app.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
luna-send -n 1 palm://com.palm.location/setUseGps {\&amp;quot;useGps\&amp;quot;:\&amp;quot;true\&amp;quot;}&lt;br /&gt;
luna-send -n 1 palm://com.palm.location/setAutoLocate {\&amp;quot;autoLocate\&amp;quot;:\&amp;quot;true\&amp;quot;}&lt;br /&gt;
luna-send -n 1 palm://com.palm.location/getCurrentPosition {}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
List all of the processes which are running:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
sudo luna-send -n 1 palm://com.palm.applicationManager/running {}&lt;br /&gt;
** Message: serviceResponse Handling: 2, { &amp;quot;running&amp;quot;: [ { &amp;quot;id&amp;quot;: &amp;quot;com.palm.launcher&amp;quot;, &amp;quot;processid&amp;quot;: &amp;quot;1006&amp;quot; }, { &amp;quot;id&amp;quot;: &amp;quot;com.palm.systemui&amp;quot;, &amp;quot;processid&amp;quot;: &amp;quot;1007&amp;quot; }, { &amp;quot;id&amp;quot;: &amp;quot;com.palm.app.email&amp;quot;, &amp;quot;processid&amp;quot;: &amp;quot;1000&amp;quot; }, { &amp;quot;id&amp;quot;: &amp;quot;com.palm.app.phone&amp;quot;, &amp;quot;processid&amp;quot;: &amp;quot;1001&amp;quot; }, { &amp;quot;id&amp;quot;: &amp;quot;com.palm.app.contacts&amp;quot;, &amp;quot;processid&amp;quot;: &amp;quot;1002&amp;quot; }, { &amp;quot;id&amp;quot;: &amp;quot;com.palm.app.camera&amp;quot;, &amp;quot;processid&amp;quot;: &amp;quot;1003&amp;quot; }, { &amp;quot;id&amp;quot;: &amp;quot;com.palm.app.messaging&amp;quot;, &amp;quot;processid&amp;quot;: &amp;quot;1004&amp;quot; }, { &amp;quot;id&amp;quot;: &amp;quot;com.palm.app.calendar&amp;quot;, &amp;quot;processid&amp;quot;: &amp;quot;1005&amp;quot; }, { &amp;quot;id&amp;quot;: &amp;quot;com.palm.app.phone&amp;quot;, &amp;quot;processid&amp;quot;: &amp;quot;1008&amp;quot; }, { &amp;quot;id&amp;quot;: &amp;quot;com.palm.app.camera&amp;quot;, &amp;quot;processid&amp;quot;: &amp;quot;1014&amp;quot; } ] }&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
Interesting note:&lt;br /&gt;
Seems everything with a processid below 1008 are static.  As seen above, open camera app has pid 1014 and startup app is pid 1003&lt;br /&gt;
&lt;br /&gt;
Close a process:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
luna-send -n 1 &amp;quot;palm://com.palm.applicationManager/close&amp;quot; &amp;quot;{\&amp;quot;processId\&amp;quot;:\&amp;quot;1058\&amp;quot;}&amp;quot;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Activate the vibrator:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
luna-send -n 1 palm://com.palm.vibrate/vibrate {\&amp;quot;period\&amp;quot;:1,\&amp;quot;duration\&amp;quot;:1000\}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
The duration value is in milliseconds and can be adjusted as desired.&lt;br /&gt;
&lt;br /&gt;
Photos Info - list album and image from mediadb.db3:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
luna-send -n 1 luna://com.palm.mediadb/image/listalbums {}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
luna-send -n 1 luna://com.palm.mediadb/image/listimages {}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set ringtone volume - &amp;quot;volume&amp;quot; range is 0-100&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
luna-send -n 1 palm://com.palm.audio/ringtone/setVolume '{&amp;quot;volume&amp;quot;:100}'&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Dial a number - this actually calls the number, not just setup&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
luna-send -n 1 palm://com.palm.telephony/dial '{&amp;quot;number&amp;quot;:&amp;quot;8001234567&amp;quot;}'&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Send a text message - only need to change phone &amp;quot;value&amp;quot; and &amp;quot;messageText&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
luna-send -n 1 palm://com.palm.messaging/sendMessageFromCompose '{&amp;quot;recipientJSONArray&amp;quot;: [{&amp;quot;lastName&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;pictureLoc&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;contactCount&amp;quot;: 1, &amp;quot;displayText&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;firstName&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;pictureLocBig&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;imAvailability&amp;quot;: 6, &amp;quot;pictureLocSquare&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;contactDisplay&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;Person_id&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;personId&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;type&amp;quot;: &amp;quot;phone&amp;quot;, &amp;quot;value&amp;quot;: &amp;quot;8165551234&amp;quot;, &amp;quot;alreadyValidated&amp;quot;: true, &amp;quot;prefix&amp;quot;: &amp;quot;to$A&amp;quot;, &amp;quot;identifier&amp;quot;: &amp;quot;&amp;quot;}], &amp;quot;messageText&amp;quot;: &amp;quot;Content of message here&amp;quot;}'&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
set phone to no roam (home network only)&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
luna-send -n 1 palm://com.palm.telephony//roamModeSet '{&amp;quot;mode&amp;quot;:&amp;quot;homeonly&amp;quot;}'&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
set phone to auto roam&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
luna-send -n 1 palm://com.palm.telephony//roamModeSet '{&amp;quot;mode&amp;quot;:&amp;quot;any&amp;quot;}'&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
set phone to roam only&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
luna-send -n 1 palm://com.palm.telephony//roamModeSet '{&amp;quot;mode&amp;quot;:&amp;quot;roamonly&amp;quot;}'&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Storage==&lt;br /&gt;
&lt;br /&gt;
Enter usb storage mode:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
luna-send -n 1 palm://com.palm.storage/diskmode/enterMSM {\&amp;quot;user-confirmed\&amp;quot;:true,\&amp;quot;enterIMasq\&amp;quot;:false}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Exit usb storage mode (toggle):&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
luna-send -n 1 palm://com.palm.storage/diskmode/enterMSM {\&amp;quot;user-confirmed\&amp;quot;:true,\&amp;quot;enterIMasq\&amp;quot;:false}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
--WOOT--&lt;br /&gt;
&lt;br /&gt;
==Airplane Mode==&lt;br /&gt;
&lt;br /&gt;
Enable Airplane Mode:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
luna-send -n 1 palm://com.palm.systemservice/setPreferences '{&amp;quot;airplaneMode&amp;quot;:true}'&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Disable Airplane Mode:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
luna-send -n 1 palm://com.palm.systemservice/setPreferences '{&amp;quot;airplaneMode&amp;quot;:false}'&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Finding luna-send Command==&lt;br /&gt;
&lt;br /&gt;
These commands come from inside given applications. The best way to find luna-send commands is to do a search for the term &amp;quot;method:&amp;quot; in the Applications code.  Once you find method: you might see parameters: which is also used by luna-send here is an example.&lt;br /&gt;
&lt;br /&gt;
searched for &amp;quot;method:&amp;quot; in the com.app.palm.AppYouAreTesting&lt;br /&gt;
&lt;br /&gt;
found&lt;br /&gt;
&lt;br /&gt;
&amp;quot;method: test&amp;quot;&lt;br /&gt;
&lt;br /&gt;
luna-send command based on example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
luna-send -n 1 palm://com.palm.AppYouAreTesting/test {}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
General luna-send command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
luna-send -n 1 palm://ApplicationName/MethodValue {ParameterValues}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Searching for services with dbus==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Run dbus-util capture and search for services/methods/parameters.&lt;br /&gt;
&lt;br /&gt;
# dbus-util --capture 2&amp;gt;&amp;amp;1 |tee /tmp/dbus.dump&lt;br /&gt;
&lt;br /&gt;
Perform functions on device that you want to trap, such as setting phone to automatic roaming.&lt;br /&gt;
Ctrl-c from dbus.&lt;br /&gt;
&lt;br /&gt;
Searches to try...&lt;br /&gt;
# grep // /tmp/dbus.dump&lt;br /&gt;
# grep com.palm /tmp/dbus.dump&lt;br /&gt;
# grep palm:// tmp/dbus.dump&lt;br /&gt;
# grep roam /tmp/dbus.dump&lt;br /&gt;
&lt;br /&gt;
This is found in the dump...&lt;br /&gt;
  com.palm.luna2  com.palm.telephony      //roamModeSet   Â«string=â{&amp;quot;mode&amp;quot;: &amp;quot;homeonly&amp;quot;}&lt;br /&gt;
&lt;br /&gt;
com.palm.telophony is the service&lt;br /&gt;
//roamModeSet is the method&lt;br /&gt;
&amp;quot;mode&amp;quot;:&amp;quot;homeonly&amp;quot; is the parameter&lt;br /&gt;
&lt;br /&gt;
Translate to luna-send...&lt;br /&gt;
&lt;br /&gt;
luna-send -n 1 palm://com.palm.telephony/roamModeSet '{&amp;quot;mode&amp;quot;:&amp;quot;homeonly&amp;quot;}'&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Xorg</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Luna_Send&amp;diff=8877</id>
		<title>Luna Send</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Luna_Send&amp;diff=8877"/>
		<updated>2010-02-02T16:07:02Z</updated>

		<summary type="html">&lt;p&gt;Xorg: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;NOTE: You have to run with root perms.&lt;br /&gt;
&lt;br /&gt;
Using luna-send to refresh the Launcher panel.&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
luna-send -n 1 palm://com.palm.applicationManager/rescan {}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Get a list of all installed apps:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
luna-send -n 1 &amp;quot;palm://com.palm.applicationManager/listLaunchPoints&amp;quot; &amp;quot;{}&amp;quot;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Using luna-send to launch an application:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
luna-send -n 1 palm://com.palm.applicationManager/launch {\&amp;quot;id\&amp;quot;:\&amp;quot;com.palm.app.browser\&amp;quot;}&lt;br /&gt;
luna-send -n 1 palm://com.palm.applicationManager/launch {\&amp;quot;id\&amp;quot;:\&amp;quot;com.palm.app.browser\&amp;quot;,\&amp;quot;params\&amp;quot;:{\&amp;quot;scene\&amp;quot;:\&amp;quot;page\&amp;quot;,\&amp;quot;target\&amp;quot;:\&amp;quot;http://www.google.com\&amp;quot;}}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The second command shows how to open www.google.com when the browser is launched.&lt;br /&gt;
&lt;br /&gt;
Using luna-send to download a file to /media/internal/downloads/:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
luna-send -n 1 palm://com.palm.downloadmanager/download {\&amp;quot;target\&amp;quot;:\&amp;quot;http://www.google.com/index.html\&amp;quot;}  &lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Replace www.google.com/index.html with whatever file you want downloaded.&lt;br /&gt;
&lt;br /&gt;
Using luna-send to control the palm progress animation (The pulsing &amp;quot;palm&amp;quot; logo seen at boot):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
luna-send -n 1 palm://com.palm.systemmanager/runProgressAnimation {\&amp;quot;state\&amp;quot;:\&amp;quot;start\&amp;quot;}&lt;br /&gt;
luna-send -n 1 palm://com.palm.systemmanager/runProgressAnimation {\&amp;quot;state\&amp;quot;:\&amp;quot;stop\&amp;quot;}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
TODO: These should probably be plugged into the Tracker app.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
luna-send -n 1 palm://com.palm.location/setUseGps {\&amp;quot;useGps\&amp;quot;:\&amp;quot;true\&amp;quot;}&lt;br /&gt;
luna-send -n 1 palm://com.palm.location/setAutoLocate {\&amp;quot;autoLocate\&amp;quot;:\&amp;quot;true\&amp;quot;}&lt;br /&gt;
luna-send -n 1 palm://com.palm.location/getCurrentPosition {}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
List all of the processes which are running:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
sudo luna-send -n 1 palm://com.palm.applicationManager/running {}&lt;br /&gt;
** Message: serviceResponse Handling: 2, { &amp;quot;running&amp;quot;: [ { &amp;quot;id&amp;quot;: &amp;quot;com.palm.launcher&amp;quot;, &amp;quot;processid&amp;quot;: &amp;quot;1006&amp;quot; }, { &amp;quot;id&amp;quot;: &amp;quot;com.palm.systemui&amp;quot;, &amp;quot;processid&amp;quot;: &amp;quot;1007&amp;quot; }, { &amp;quot;id&amp;quot;: &amp;quot;com.palm.app.email&amp;quot;, &amp;quot;processid&amp;quot;: &amp;quot;1000&amp;quot; }, { &amp;quot;id&amp;quot;: &amp;quot;com.palm.app.phone&amp;quot;, &amp;quot;processid&amp;quot;: &amp;quot;1001&amp;quot; }, { &amp;quot;id&amp;quot;: &amp;quot;com.palm.app.contacts&amp;quot;, &amp;quot;processid&amp;quot;: &amp;quot;1002&amp;quot; }, { &amp;quot;id&amp;quot;: &amp;quot;com.palm.app.camera&amp;quot;, &amp;quot;processid&amp;quot;: &amp;quot;1003&amp;quot; }, { &amp;quot;id&amp;quot;: &amp;quot;com.palm.app.messaging&amp;quot;, &amp;quot;processid&amp;quot;: &amp;quot;1004&amp;quot; }, { &amp;quot;id&amp;quot;: &amp;quot;com.palm.app.calendar&amp;quot;, &amp;quot;processid&amp;quot;: &amp;quot;1005&amp;quot; }, { &amp;quot;id&amp;quot;: &amp;quot;com.palm.app.phone&amp;quot;, &amp;quot;processid&amp;quot;: &amp;quot;1008&amp;quot; }, { &amp;quot;id&amp;quot;: &amp;quot;com.palm.app.camera&amp;quot;, &amp;quot;processid&amp;quot;: &amp;quot;1014&amp;quot; } ] }&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
Interesting note:&lt;br /&gt;
Seems everything with a processid below 1008 are static.  As seen above, open camera app has pid 1014 and startup app is pid 1003&lt;br /&gt;
&lt;br /&gt;
Close a process:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
luna-send -n 1 &amp;quot;palm://com.palm.applicationManager/close&amp;quot; &amp;quot;{\&amp;quot;processId\&amp;quot;:\&amp;quot;1058\&amp;quot;}&amp;quot;&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Activate the vibrator:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
luna-send -n 1 palm://com.palm.vibrate/vibrate {\&amp;quot;period\&amp;quot;:1,\&amp;quot;duration\&amp;quot;:1000\}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
The duration value is in milliseconds and can be adjusted as desired.&lt;br /&gt;
&lt;br /&gt;
Photos Info - list album and image from mediadb.db3:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
luna-send -n 1 luna://com.palm.mediadb/image/listalbums {}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
luna-send -n 1 luna://com.palm.mediadb/image/listimages {}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Set ringtone volume - &amp;quot;volume&amp;quot; range is 0-100&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
luna-send -n 1 palm://com.palm.audio/ringtone/setVolume '{&amp;quot;volume&amp;quot;:100}'&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Dial a number - this actually calls the number, not just setup&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
luna-send -n 1 palm://com.palm.telephony/dial '{&amp;quot;number&amp;quot;:&amp;quot;8001234567&amp;quot;}'&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Send a text message - only need to change phone &amp;quot;value&amp;quot; and &amp;quot;messageText&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
luna-send -n 1 palm://com.palm.messaging/sendMessageFromCompose '{&amp;quot;recipientJSONArray&amp;quot;: [{&amp;quot;lastName&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;pictureLoc&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;contactCount&amp;quot;: 1, &amp;quot;displayText&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;firstName&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;pictureLocBig&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;imAvailability&amp;quot;: 6, &amp;quot;pictureLocSquare&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;contactDisplay&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;Person_id&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;personId&amp;quot;: &amp;quot;&amp;quot;, &amp;quot;type&amp;quot;: &amp;quot;phone&amp;quot;, &amp;quot;value&amp;quot;: &amp;quot;8165551234&amp;quot;, &amp;quot;alreadyValidated&amp;quot;: true, &amp;quot;prefix&amp;quot;: &amp;quot;to$A&amp;quot;, &amp;quot;identifier&amp;quot;: &amp;quot;&amp;quot;}], &amp;quot;messageText&amp;quot;: &amp;quot;Content of message here&amp;quot;}'&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
set phone to no roam (home network only)&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
luna-send -n 1 palm://com.palm.telephony//roamModeSet '{&amp;quot;mode&amp;quot;:&amp;quot;homeonly&amp;quot;}'&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
set phone to auto roam&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
luna-send -n 1 palm://com.palm.telephony//roamModeSet '{&amp;quot;mode&amp;quot;:&amp;quot;any&amp;quot;}'&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
set phone to roam only&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
luna-send -n 1 palm://com.palm.telephony//roamModeSet '{&amp;quot;mode&amp;quot;:&amp;quot;roamonly&amp;quot;}'&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Storage==&lt;br /&gt;
&lt;br /&gt;
Enter usb storage mode:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
luna-send -n 1 palm://com.palm.storage/diskmode/enterMSM {\&amp;quot;user-confirmed\&amp;quot;:true,\&amp;quot;enterIMasq\&amp;quot;:false}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Exit usb storage mode (toggle):&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
luna-send -n 1 palm://com.palm.storage/diskmode/enterMSM {\&amp;quot;user-confirmed\&amp;quot;:true,\&amp;quot;enterIMasq\&amp;quot;:false}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
--WOOT--&lt;br /&gt;
&lt;br /&gt;
==Airplane Mode==&lt;br /&gt;
&lt;br /&gt;
Enable Airplane Mode:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
luna-send -n 1 palm://com.palm.systemservice/setPreferences '{&amp;quot;airplaneMode&amp;quot;:true}'&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Disable Airplane Mode:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
luna-send -n 1 palm://com.palm.systemservice/setPreferences '{&amp;quot;airplaneMode&amp;quot;:false}'&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Finding luna-send Command==&lt;br /&gt;
&lt;br /&gt;
These commands come from inside given applications. The best way to find luna-send commands is to do a search for the term &amp;quot;method:&amp;quot; in the Applications code.  Once you find method: you might see parameters: which is also used by luna-send here is an example.&lt;br /&gt;
&lt;br /&gt;
searched for &amp;quot;method:&amp;quot; in the com.app.palm.AppYouAreTesting&lt;br /&gt;
&lt;br /&gt;
found&lt;br /&gt;
&lt;br /&gt;
&amp;quot;method: test&amp;quot;&lt;br /&gt;
&lt;br /&gt;
luna-send command based on example:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
luna-send -n 1 palm://com.palm.AppYouAreTesting/test {}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
General luna-send command:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
luna-send -n 1 palm://ApplicationName/MethodValue {ParameterValues}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Searching for services with dbus==&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Run dbus-util capture and search for services/methods/parameters.&lt;br /&gt;
&lt;br /&gt;
# dbus-util --capture 2&amp;gt;&amp;amp;1 |tee /tmp/dbus.dump&lt;br /&gt;
&lt;br /&gt;
Perform functions on device that you want to trap, such as setting phone to automatic roaming.&lt;br /&gt;
Ctrl-c from dbus.&lt;br /&gt;
&lt;br /&gt;
Searches to try...&lt;br /&gt;
# grep // /tmp/dbus.dump&lt;br /&gt;
# grep com.palm /tmp/dbus.dump&lt;br /&gt;
# grep palm:// tmp/dbus.dump&lt;br /&gt;
# grep roam /tmp/dbus.dump&lt;br /&gt;
&lt;br /&gt;
This is found in the dump...&lt;br /&gt;
  com.palm.luna2  com.palm.telephony      //roamModeSet   Â«string=â{&amp;quot;mode&amp;quot;: &amp;quot;homeonly&amp;quot;}&lt;br /&gt;
&lt;br /&gt;
com.palm.telophony is the service&lt;br /&gt;
//roamModeSet is the method&lt;br /&gt;
&amp;quot;mode&amp;quot;:&amp;quot;homeonly&amp;quot; is the parameter&lt;br /&gt;
&lt;br /&gt;
Translate to luna-send...&lt;br /&gt;
&lt;br /&gt;
luna-send -n 1 palm://com.palm.telephony/roamModeSet '{&amp;quot;mode&amp;quot;:&amp;quot;homeonly&amp;quot;}'&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Xorg</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Backup_Media_Drive_over_WiFi&amp;diff=8876</id>
		<title>Backup Media Drive over WiFi</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Backup_Media_Drive_over_WiFi&amp;diff=8876"/>
		<updated>2010-02-02T15:34:14Z</updated>

		<summary type="html">&lt;p&gt;Xorg: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
This tool creates scheduled backups of /media/internal (usb media drive) to a Windows computer over WiFi.  It could also work with NAS drive/Linux/Mac that is setup for cifs/samba access.&lt;br /&gt;
&lt;br /&gt;
As with all webos-internals solutions, this function comes with no warranty.&lt;br /&gt;
&lt;br /&gt;
== How this method works ==&lt;br /&gt;
This uses Xorg Tools to setup the configuration.&lt;br /&gt;
&lt;br /&gt;
It uses webOS existing cifs filesharing and rsync to perform the backup.&lt;br /&gt;
&lt;br /&gt;
In a nutshell, it mounts a Windows fileshare onto webOS device and uses rsync to sync.  Cron scheduling is used to automatically run at specified times.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
You need the following tools/knowledge to use this service...&lt;br /&gt;
&lt;br /&gt;
- A Windows PC with at least 7GB storage available&amp;lt;br&amp;gt;&lt;br /&gt;
- Terminal access to phone, or webOS Quick Install&amp;lt;br&amp;gt;&lt;br /&gt;
- Need to know the local IP address of the backup PC&amp;lt;br&amp;gt;&lt;br /&gt;
- Helps to know how to setup Windows print/filesharing&amp;lt;br&amp;gt;&lt;br /&gt;
-- though the xt wizard walks you through setup&lt;br /&gt;
&lt;br /&gt;
== How to install ==&lt;br /&gt;
&lt;br /&gt;
'''Install Xorg Tools'''&lt;br /&gt;
&lt;br /&gt;
Paste this in a terminal session or use webOS Quick Install Linux Command line...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /tmp &amp;amp;&amp;amp; wget -qO- http://dl.dropbox.com/u/3812896/xt.setup | /bin/sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Terminal app or in a Terminal session...&lt;br /&gt;
&lt;br /&gt;
- Run 'xt' from linux&lt;br /&gt;
&lt;br /&gt;
Find the IP address of the backup computer before continuing.  If you don't know how to find the local IP address on your computer, this is not for you.  Use the local IP address, not the WAN address.  Best to start with local segment and then once working, tinker with router port forwarding to maybe use over EVDO and external WiFi.&lt;br /&gt;
&lt;br /&gt;
'''Initial Setup'''&lt;br /&gt;
&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bis) backup initial setup&lt;br /&gt;
&lt;br /&gt;
Follow all instructions very carefully. Re-run bis if you need to change anything.&lt;br /&gt;
&lt;br /&gt;
Once installed, run a manual sync.&lt;br /&gt;
&lt;br /&gt;
'''Manual Sync'''&lt;br /&gt;
&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- pbn) perform backup sync now&lt;br /&gt;
&lt;br /&gt;
The first backup may take hours.  I was getting 2GB/hour, so plan first run accordingly.  Best to run first full backup while charging phone. If this is successful, setup scheduling. &lt;br /&gt;
&lt;br /&gt;
'''Scheduling'''&lt;br /&gt;
&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- sbk) schedule backup&lt;br /&gt;
&lt;br /&gt;
For now the scheduler only allows to pick one backup hour of the day.  Late night after midnight is recommended as you're likely home (in local WiFi segment).  Be careful not to schedule near time of a reboot, if that is scheduled.  You can manually edit the cron table to meet your needs.  See details at end of page.&lt;br /&gt;
&lt;br /&gt;
== Usage Info ==&lt;br /&gt;
&lt;br /&gt;
- The first run may take hours depending on amount of data.  Best to charge phone while doing the first full backup.  I was getting about 2GB/hour.&lt;br /&gt;
&lt;br /&gt;
- Future backup runs with few changes only take about 2-5 minutes to run, depending on total number of files and size of changed/new files.&lt;br /&gt;
&lt;br /&gt;
- If you delete a file on media drive, it will NOT delete on the Windows backup folder.  Future versions will allow you to control this.&lt;br /&gt;
&lt;br /&gt;
- If you quit a backup or if disrupted in the middle, no problem.  Just run again and it will pickup where it left off.&lt;br /&gt;
&lt;br /&gt;
- If a backup is running on local WiFi at home and you leave with phone in pocket and it switches to EVDO, no problem.  The backup will timeout (2 minutes) and cleanly exit.  It will pickup where it left off on the next scheduled (or manual) run.&lt;br /&gt;
&lt;br /&gt;
- Backup skips cryptofs, so does not backup the applications. It's not guaranteed a restore would work, so not going there.&lt;br /&gt;
&lt;br /&gt;
- A backup runs at lowest priority so doesn't impact performance of other apps.  Was running Need For Speed during full backup and not one skip in NFS, very smooth.  Assassins Creed ran great.  Backups may impact load times however since it impacts IO more than CPU, but even load times were decent.  There doesn't appear to be any noticeable performance impact to other webOS usage due to this.  Even cron runs at a lower priority. &lt;br /&gt;
&lt;br /&gt;
- Cool use.  Take a picture, run a backup and it shows up on your Windows PC.  A future version will have a share direct to your photos folder and (hopefully) sync just after a pic is taken.&lt;br /&gt;
&lt;br /&gt;
- For now, backup scheduling only sets up to run once a day.  You can manually change the cron entry to meet your needs.&lt;br /&gt;
&lt;br /&gt;
- This would also likely work with NAS drives that support cifs, as well as Linux/Mac setup to as cifs/samba server.  Just create a backup folder with sharename 'mediabackup' with full read/write permissions.&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
'''Permission Errors'''&lt;br /&gt;
&lt;br /&gt;
If you get permission errors when doing a manual sync, check the following...&lt;br /&gt;
&lt;br /&gt;
- Make sure the Windows backup folder share has 'full control'.  On XP, it might say 'allow user to have full access', that must be checked.  Must have read/write access to the share.&amp;lt;br&amp;gt;&lt;br /&gt;
- Ensure the Windows backup folder sharename is 'mediabackup'.  It must be named this.&amp;lt;br&amp;gt;&lt;br /&gt;
- In Vista/Win7, go to Advance Settings in Share tab to create a new sharename.&amp;lt;br&amp;gt;&lt;br /&gt;
- The Windows user account cannot have a space in the name or password.  If so, create a new Windows user/password with no spaces and re-run &amp;quot;backup initial setup&amp;quot;.  &lt;br /&gt;
- If you have firewall software, you may need to open ports: 137-139, 445&lt;br /&gt;
&lt;br /&gt;
== Caveats ==&lt;br /&gt;
&lt;br /&gt;
- The username and password on the Windows PC cannot have any spaces.  You'll need to use or create an account on Windows that has no spaces for the user id and password.&lt;br /&gt;
&lt;br /&gt;
- The username/password of the Windows PC appear in /etc/fstab.   Anyone know how to hide this?&lt;br /&gt;
&lt;br /&gt;
- There's a known issue with backing up non-english unicode filenames (thanks Kyusaku).  The rsync in webos doesn't appear to support --conv to do the conversion.  The file backs up OK but with garbled filename, which would need to be renamed.  Looking to use a more full fledged rsync binary for future release.&lt;br /&gt;
&lt;br /&gt;
- It turns out that the webOS kernel has built in cifs support and samba is not needed.  If you were an early tester and installed samba (on or before Jan 31), you can remove unless you're using for other reasons.&lt;br /&gt;
&lt;br /&gt;
ipkg-opt remove samba&lt;br /&gt;
&lt;br /&gt;
== Details on what is setup ==&lt;br /&gt;
These are the configuration files involved if you want to make manual changes.&lt;br /&gt;
&lt;br /&gt;
/etc/fstab&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/hosts&amp;lt;br&amp;gt;&lt;br /&gt;
/var/spool/cron/crontabs/root&lt;br /&gt;
&lt;br /&gt;
== How to Remove ==&lt;br /&gt;
&lt;br /&gt;
I'll have a better way to remove in future version but here is a way in the meantime...&lt;br /&gt;
&lt;br /&gt;
Remove the scheduling entry...&amp;lt;br&amp;gt;&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dbx) dropbox menu&amp;lt;br&amp;gt;&lt;br /&gt;
- sbk) schedule media backup time &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
- select 'r' to remove the cron entry for scheduled backups&lt;br /&gt;
&lt;br /&gt;
While this does nothing unless the manual sync or schedule is performed, you can edit this line out of...&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/fstab&lt;br /&gt;
&lt;br /&gt;
Remove entire line that starts with..&amp;lt;br&amp;gt;&lt;br /&gt;
//mediabackup/mediabackup &lt;br /&gt;
&lt;br /&gt;
I'll have that scripted in next version.&lt;br /&gt;
&lt;br /&gt;
== ToDos/Requests/Updates ==&lt;br /&gt;
&lt;br /&gt;
Please post other ideas and feature requests here.&lt;br /&gt;
&lt;br /&gt;
Here is the [http://forums.precentral.net/webos-internals/226574-xorg-tools-power-tools-power-users.html PreCentral thread], which also has release notes on new versions.&lt;br /&gt;
&lt;br /&gt;
== Alternate Methods/Other Platforms ==&lt;br /&gt;
&lt;br /&gt;
I chose to do Windows/cifs because that is what most people have available.  This could be easily ported to Mac/Linux by just using rsync daemon (cifs not necessary).  The sync scripts in /media/internal/xorgtools/plugins can be altered by likely just stripping out the cifs mounting and change the rsync command to talk to the rsyncd on backup computer.&lt;br /&gt;
&lt;br /&gt;
== Credits ==&lt;br /&gt;
&lt;br /&gt;
Thanks much to testers... Vincent Law, navinaq, Kyusaku, rlanza1054&lt;/div&gt;</summary>
		<author><name>Xorg</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Backup_Media_Drive_over_WiFi&amp;diff=8872</id>
		<title>Backup Media Drive over WiFi</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Backup_Media_Drive_over_WiFi&amp;diff=8872"/>
		<updated>2010-02-02T05:20:48Z</updated>

		<summary type="html">&lt;p&gt;Xorg: /* ToDos/Requests */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
This tool creates scheduled backups of /media/internal (usb media drive) to a Windows computer over WiFi.  It could also work with NAS drive/Linux/Mac that is setup for cifs/samba access.&lt;br /&gt;
&lt;br /&gt;
As will all webos-internals solutions, this function comes with no warranty.&lt;br /&gt;
&lt;br /&gt;
== How this method works ==&lt;br /&gt;
This uses Xorg Tools to setup the configuration.&lt;br /&gt;
&lt;br /&gt;
It uses webOS existing cifs filesharing and rsync to perform the backup.&lt;br /&gt;
&lt;br /&gt;
In a nutshell, it mounts a Windows fileshare onto webOS device and uses rsync to sync.  Cron scheduling is used to automatically run at specified times.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
You need the following tools/knowledge to use this service...&lt;br /&gt;
&lt;br /&gt;
- A Windows PC with at least 7GB storage available&amp;lt;br&amp;gt;&lt;br /&gt;
- Terminal access to phone, or webOS Quick Install&amp;lt;br&amp;gt;&lt;br /&gt;
- Need to know the local IP address of the backup PC&amp;lt;br&amp;gt;&lt;br /&gt;
- Helps to know how to setup Windows print/filesharing&amp;lt;br&amp;gt;&lt;br /&gt;
-- though the xt wizard walks you through setup&lt;br /&gt;
&lt;br /&gt;
== How to install ==&lt;br /&gt;
&lt;br /&gt;
'''Install Xorg Tools'''&lt;br /&gt;
&lt;br /&gt;
Paste this in a terminal session or use webOS Quick Install Linux Command line...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /tmp &amp;amp;&amp;amp; wget -qO- http://dl.dropbox.com/u/3812896/xt.setup | /bin/sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Terminal app or in a Terminal session...&lt;br /&gt;
&lt;br /&gt;
- Run 'xt' from linux&lt;br /&gt;
&lt;br /&gt;
Find the IP address of the backup computer before continuing.  If you don't know how to find the local IP address on your computer, this is not for you.  Use the local IP address, not the WAN address.  Best to start with local segment and then once working, tinker with router port forwarding to maybe use over EVDO and external WiFi.&lt;br /&gt;
&lt;br /&gt;
'''Initial Setup'''&lt;br /&gt;
&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bis) backup initial setup&lt;br /&gt;
&lt;br /&gt;
Follow all instructions very carefully. Re-run bis if you need to change anything.&lt;br /&gt;
&lt;br /&gt;
Once installed, run a manual sync.&lt;br /&gt;
&lt;br /&gt;
'''Manual Sync'''&lt;br /&gt;
&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- pbn) perform backup sync now&lt;br /&gt;
&lt;br /&gt;
The first backup may take hours.  I was getting 2GB/hour, so plan first run accordingly.  Best to run first full backup while charging phone. If this is successful, setup scheduling. &lt;br /&gt;
&lt;br /&gt;
'''Scheduling'''&lt;br /&gt;
&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- sbk) schedule backup&lt;br /&gt;
&lt;br /&gt;
For now the scheduler only allows to pick one backup hour of the day.  Late night after midnight is recommended as you're likely home (in local WiFi segment).  Be careful not to schedule near time of a reboot, if that is scheduled.  You can manually edit the cron table to meet your needs.  See details at end of page.&lt;br /&gt;
&lt;br /&gt;
== Usage Info ==&lt;br /&gt;
&lt;br /&gt;
- The first run may take hours depending on amount of data.  Best to charge phone while doing the first full backup.  I was getting about 2GB/hour.&lt;br /&gt;
&lt;br /&gt;
- Future backup runs with few changes only take about 2-5 minutes to run, depending on total number of files and size of changed/new files.&lt;br /&gt;
&lt;br /&gt;
- If you delete a file on media drive, it will NOT delete on the Windows backup folder.  Future versions will allow you to control this.&lt;br /&gt;
&lt;br /&gt;
- If you quit a backup or if disrupted in the middle, no problem.  Just run again and it will pickup where it left off.&lt;br /&gt;
&lt;br /&gt;
- If a backup is running on local WiFi at home and you leave with phone in pocket and it switches to EVDO, no problem.  The backup will timeout (2 minutes) and cleanly exit.  It will pickup where it left off on the next scheduled (or manual) run.&lt;br /&gt;
&lt;br /&gt;
- Backup skips cryptofs, so does not backup the applications. It's not guaranteed a restore would work, so not going there.&lt;br /&gt;
&lt;br /&gt;
- A backup runs at lowest priority so doesn't impact performance of other apps.  Was running Need For Speed during full backup and not one skip in NFS, very smooth.  Assassins Creed ran great.  Backups may impact load times however since it impacts IO more than CPU, but even load times were decent.  There doesn't appear to be any noticeable performance impact to other webOS usage due to this.  Even cron runs at a lower priority. &lt;br /&gt;
&lt;br /&gt;
- Cool use.  Take a picture, run a backup and it shows up on your Windows PC.  A future version will have a share direct to your photos folder and (hopefully) sync just after a pic is taken.&lt;br /&gt;
&lt;br /&gt;
- For now, backup scheduling only sets up to run once a day.  You can manually change the cron entry to meet your needs.&lt;br /&gt;
&lt;br /&gt;
- This would also likely work with NAS drives that support cifs, as well as Linux/Mac setup to as cifs/samba server.  Just create a backup folder with sharename 'mediabackup' with full read/write permissions.&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
'''Permission Errors'''&lt;br /&gt;
&lt;br /&gt;
If you get permission errors when doing a manual sync, check the following...&lt;br /&gt;
&lt;br /&gt;
- Make sure the Windows backup folder share has 'full control'.  On XP, it might say 'allow user to have full access', that must be checked.  Must have read/write access to the share.&amp;lt;br&amp;gt;&lt;br /&gt;
- Ensure the Windows backup folder sharename is 'mediabackup'.  It must be named this.&amp;lt;br&amp;gt;&lt;br /&gt;
- The Windows user account cannot have a space in the name or password.  If so, create a new Windows user/password with no spaces and re-run &amp;quot;backup initial setup&amp;quot;.  &lt;br /&gt;
&lt;br /&gt;
== Caveats ==&lt;br /&gt;
&lt;br /&gt;
- The username and password on the Windows PC cannot have any spaces.  You'll need to use or create an account on Windows that has no spaces for the user id and password.&lt;br /&gt;
&lt;br /&gt;
- The username/password of the Windows PC appear in /etc/fstab.   Anyone know how to hide this?&lt;br /&gt;
&lt;br /&gt;
- There's a known issue with backing up non-english unicode filenames (thanks Kyusaku).  The rsync in webos doesn't appear to support --conv to do the conversion.  The file backs up OK but with garbled filename.  Looking to use a more full fledged rsync in future.&lt;br /&gt;
&lt;br /&gt;
- It turns out that the webOS kernel has built in cifs support and samba is not needed.  If you were an early tester and installed samba (on or before Jan 31), you can remove unless you're using for other reasons.&lt;br /&gt;
&lt;br /&gt;
ipkg-opt remove samba&lt;br /&gt;
&lt;br /&gt;
== Details on what is setup ==&lt;br /&gt;
These are the configuration files involved if you want to make manual changes.&lt;br /&gt;
&lt;br /&gt;
/etc/fstab&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/hosts&amp;lt;br&amp;gt;&lt;br /&gt;
/var/spool/cron/crontabs/root&lt;br /&gt;
&lt;br /&gt;
== How to Remove ==&lt;br /&gt;
&lt;br /&gt;
I'll have a better way to remove in future version but here is a way in the meantime...&lt;br /&gt;
&lt;br /&gt;
Remove the scheduling entry...&amp;lt;br&amp;gt;&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dbx) dropbox menu&amp;lt;br&amp;gt;&lt;br /&gt;
- sbk) schedule media backup time &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
- select 'r' to remove the cron entry for scheduled backups&lt;br /&gt;
&lt;br /&gt;
While this does nothing unless the manual sync or schedule is performed, you can edit this line out of...&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/fstab&lt;br /&gt;
&lt;br /&gt;
Remove entire line that starts with..&amp;lt;br&amp;gt;&lt;br /&gt;
//mediabackup/mediabackup &lt;br /&gt;
&lt;br /&gt;
I'll have that automated in next version.&lt;br /&gt;
&lt;br /&gt;
== ToDos/Requests/Updates ==&lt;br /&gt;
&lt;br /&gt;
Please post other ideas and feature requests here.&lt;br /&gt;
&lt;br /&gt;
Here is the [http://forums.precentral.net/webos-internals/226574-xorg-tools-power-tools-power-users.html PreCentral thread], which also has release notes on new versions.&lt;br /&gt;
&lt;br /&gt;
== Alternate Methods/Other Platforms ==&lt;br /&gt;
&lt;br /&gt;
I chose to do Windows/cifs because that is what most people have available.  This could be easily ported to Mac/Linux by just using rsync daemon (cifs not necessary).  The sync scripts in /media/internal/xorgtools/plugins can be altered by likely just stripping out the cifs mounting and change the rsync command to talk to the rsyncd on backup computer.&lt;br /&gt;
&lt;br /&gt;
== Credits ==&lt;br /&gt;
&lt;br /&gt;
Thanks much to testers... Vincent Law, navinaq, Kyusaku&lt;/div&gt;</summary>
		<author><name>Xorg</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Backup_Media_Drive_over_WiFi&amp;diff=8871</id>
		<title>Backup Media Drive over WiFi</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Backup_Media_Drive_over_WiFi&amp;diff=8871"/>
		<updated>2010-02-02T04:56:27Z</updated>

		<summary type="html">&lt;p&gt;Xorg: /* Overview */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
This tool creates scheduled backups of /media/internal (usb media drive) to a Windows computer over WiFi.  It could also work with NAS drive/Linux/Mac that is setup for cifs/samba access.&lt;br /&gt;
&lt;br /&gt;
As will all webos-internals solutions, this function comes with no warranty.&lt;br /&gt;
&lt;br /&gt;
== How this method works ==&lt;br /&gt;
This uses Xorg Tools to setup the configuration.&lt;br /&gt;
&lt;br /&gt;
It uses webOS existing cifs filesharing and rsync to perform the backup.&lt;br /&gt;
&lt;br /&gt;
In a nutshell, it mounts a Windows fileshare onto webOS device and uses rsync to sync.  Cron scheduling is used to automatically run at specified times.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
You need the following tools/knowledge to use this service...&lt;br /&gt;
&lt;br /&gt;
- A Windows PC with at least 7GB storage available&amp;lt;br&amp;gt;&lt;br /&gt;
- Terminal access to phone, or webOS Quick Install&amp;lt;br&amp;gt;&lt;br /&gt;
- Need to know the local IP address of the backup PC&amp;lt;br&amp;gt;&lt;br /&gt;
- Helps to know how to setup Windows print/filesharing&amp;lt;br&amp;gt;&lt;br /&gt;
-- though the xt wizard walks you through setup&lt;br /&gt;
&lt;br /&gt;
== How to install ==&lt;br /&gt;
&lt;br /&gt;
'''Install Xorg Tools'''&lt;br /&gt;
&lt;br /&gt;
Paste this in a terminal session or use webOS Quick Install Linux Command line...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /tmp &amp;amp;&amp;amp; wget -qO- http://dl.dropbox.com/u/3812896/xt.setup | /bin/sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Terminal app or in a Terminal session...&lt;br /&gt;
&lt;br /&gt;
- Run 'xt' from linux&lt;br /&gt;
&lt;br /&gt;
Find the IP address of the backup computer before continuing.  If you don't know how to find the local IP address on your computer, this is not for you.  Use the local IP address, not the WAN address.  Best to start with local segment and then once working, tinker with router port forwarding to maybe use over EVDO and external WiFi.&lt;br /&gt;
&lt;br /&gt;
'''Initial Setup'''&lt;br /&gt;
&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bis) backup initial setup&lt;br /&gt;
&lt;br /&gt;
Follow all instructions very carefully. Re-run bis if you need to change anything.&lt;br /&gt;
&lt;br /&gt;
Once installed, run a manual sync.&lt;br /&gt;
&lt;br /&gt;
'''Manual Sync'''&lt;br /&gt;
&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- pbn) perform backup sync now&lt;br /&gt;
&lt;br /&gt;
The first backup may take hours.  I was getting 2GB/hour, so plan first run accordingly.  Best to run first full backup while charging phone. If this is successful, setup scheduling. &lt;br /&gt;
&lt;br /&gt;
'''Scheduling'''&lt;br /&gt;
&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- sbk) schedule backup&lt;br /&gt;
&lt;br /&gt;
For now the scheduler only allows to pick one backup hour of the day.  Late night after midnight is recommended as you're likely home (in local WiFi segment).  Be careful not to schedule near time of a reboot, if that is scheduled.  You can manually edit the cron table to meet your needs.  See details at end of page.&lt;br /&gt;
&lt;br /&gt;
== Usage Info ==&lt;br /&gt;
&lt;br /&gt;
- The first run may take hours depending on amount of data.  Best to charge phone while doing the first full backup.  I was getting about 2GB/hour.&lt;br /&gt;
&lt;br /&gt;
- Future backup runs with few changes only take about 2-5 minutes to run, depending on total number of files and size of changed/new files.&lt;br /&gt;
&lt;br /&gt;
- If you delete a file on media drive, it will NOT delete on the Windows backup folder.  Future versions will allow you to control this.&lt;br /&gt;
&lt;br /&gt;
- If you quit a backup or if disrupted in the middle, no problem.  Just run again and it will pickup where it left off.&lt;br /&gt;
&lt;br /&gt;
- If a backup is running on local WiFi at home and you leave with phone in pocket and it switches to EVDO, no problem.  The backup will timeout (2 minutes) and cleanly exit.  It will pickup where it left off on the next scheduled (or manual) run.&lt;br /&gt;
&lt;br /&gt;
- Backup skips cryptofs, so does not backup the applications. It's not guaranteed a restore would work, so not going there.&lt;br /&gt;
&lt;br /&gt;
- A backup runs at lowest priority so doesn't impact performance of other apps.  Was running Need For Speed during full backup and not one skip in NFS, very smooth.  Assassins Creed ran great.  Backups may impact load times however since it impacts IO more than CPU, but even load times were decent.  There doesn't appear to be any noticeable performance impact to other webOS usage due to this.  Even cron runs at a lower priority. &lt;br /&gt;
&lt;br /&gt;
- Cool use.  Take a picture, run a backup and it shows up on your Windows PC.  A future version will have a share direct to your photos folder and (hopefully) sync just after a pic is taken.&lt;br /&gt;
&lt;br /&gt;
- For now, backup scheduling only sets up to run once a day.  You can manually change the cron entry to meet your needs.&lt;br /&gt;
&lt;br /&gt;
- This would also likely work with NAS drives that support cifs, as well as Linux/Mac setup to as cifs/samba server.  Just create a backup folder with sharename 'mediabackup' with full read/write permissions.&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
'''Permission Errors'''&lt;br /&gt;
&lt;br /&gt;
If you get permission errors when doing a manual sync, check the following...&lt;br /&gt;
&lt;br /&gt;
- Make sure the Windows backup folder share has 'full control'.  On XP, it might say 'allow user to have full access', that must be checked.  Must have read/write access to the share.&amp;lt;br&amp;gt;&lt;br /&gt;
- Ensure the Windows backup folder sharename is 'mediabackup'.  It must be named this.&amp;lt;br&amp;gt;&lt;br /&gt;
- The Windows user account cannot have a space in the name or password.  If so, create a new Windows user/password with no spaces and re-run &amp;quot;backup initial setup&amp;quot;.  &lt;br /&gt;
&lt;br /&gt;
== Caveats ==&lt;br /&gt;
&lt;br /&gt;
- The username and password on the Windows PC cannot have any spaces.  You'll need to use or create an account on Windows that has no spaces for the user id and password.&lt;br /&gt;
&lt;br /&gt;
- The username/password of the Windows PC appear in /etc/fstab.   Anyone know how to hide this?&lt;br /&gt;
&lt;br /&gt;
- There's a known issue with backing up non-english unicode filenames (thanks Kyusaku).  The rsync in webos doesn't appear to support --conv to do the conversion.  The file backs up OK but with garbled filename.  Looking to use a more full fledged rsync in future.&lt;br /&gt;
&lt;br /&gt;
- It turns out that the webOS kernel has built in cifs support and samba is not needed.  If you were an early tester and installed samba (on or before Jan 31), you can remove unless you're using for other reasons.&lt;br /&gt;
&lt;br /&gt;
ipkg-opt remove samba&lt;br /&gt;
&lt;br /&gt;
== Details on what is setup ==&lt;br /&gt;
These are the configuration files involved if you want to make manual changes.&lt;br /&gt;
&lt;br /&gt;
/etc/fstab&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/hosts&amp;lt;br&amp;gt;&lt;br /&gt;
/var/spool/cron/crontabs/root&lt;br /&gt;
&lt;br /&gt;
== How to Remove ==&lt;br /&gt;
&lt;br /&gt;
I'll have a better way to remove in future version but here is a way in the meantime...&lt;br /&gt;
&lt;br /&gt;
Remove the scheduling entry...&amp;lt;br&amp;gt;&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dbx) dropbox menu&amp;lt;br&amp;gt;&lt;br /&gt;
- sbk) schedule media backup time &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
- select 'r' to remove the cron entry for scheduled backups&lt;br /&gt;
&lt;br /&gt;
While this does nothing unless the manual sync or schedule is performed, you can edit this line out of...&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/fstab&lt;br /&gt;
&lt;br /&gt;
Remove entire line that starts with..&amp;lt;br&amp;gt;&lt;br /&gt;
//mediabackup/mediabackup &lt;br /&gt;
&lt;br /&gt;
I'll have that automated in next version.&lt;br /&gt;
&lt;br /&gt;
== ToDos/Requests ==&lt;br /&gt;
&lt;br /&gt;
Please post other ideas and feature requests here.&lt;br /&gt;
&lt;br /&gt;
== Alternate Methods/Other Platforms ==&lt;br /&gt;
&lt;br /&gt;
I chose to do Windows/cifs because that is what most people have available.  This could be easily ported to Mac/Linux by just using rsync daemon (cifs not necessary).  The sync scripts in /media/internal/xorgtools/plugins can be altered by likely just stripping out the cifs mounting and change the rsync command to talk to the rsyncd on backup computer.&lt;br /&gt;
&lt;br /&gt;
== Credits ==&lt;br /&gt;
&lt;br /&gt;
Thanks much to testers... Vincent Law, navinaq, Kyusaku&lt;/div&gt;</summary>
		<author><name>Xorg</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Backup_Media_Drive_over_WiFi&amp;diff=8870</id>
		<title>Backup Media Drive over WiFi</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Backup_Media_Drive_over_WiFi&amp;diff=8870"/>
		<updated>2010-02-02T04:01:51Z</updated>

		<summary type="html">&lt;p&gt;Xorg: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
This tool creates scheduled backups of /media/internal (usb media drive) to a Windows computer over WiFi.  It could also work with NAS drive/Linux/Mac that is setup for cifs/samba access.&lt;br /&gt;
&lt;br /&gt;
== How this method works ==&lt;br /&gt;
This uses Xorg Tools to setup the configuration.&lt;br /&gt;
&lt;br /&gt;
It uses webOS existing cifs filesharing and rsync to perform the backup.&lt;br /&gt;
&lt;br /&gt;
In a nutshell, it mounts a Windows fileshare onto webOS device and uses rsync to sync.  Cron scheduling is used to automatically run at specified times.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
You need the following tools/knowledge to use this service...&lt;br /&gt;
&lt;br /&gt;
- A Windows PC with at least 7GB storage available&amp;lt;br&amp;gt;&lt;br /&gt;
- Terminal access to phone, or webOS Quick Install&amp;lt;br&amp;gt;&lt;br /&gt;
- Need to know the local IP address of the backup PC&amp;lt;br&amp;gt;&lt;br /&gt;
- Helps to know how to setup Windows print/filesharing&amp;lt;br&amp;gt;&lt;br /&gt;
-- though the xt wizard walks you through setup&lt;br /&gt;
&lt;br /&gt;
== How to install ==&lt;br /&gt;
&lt;br /&gt;
'''Install Xorg Tools'''&lt;br /&gt;
&lt;br /&gt;
Paste this in a terminal session or use webOS Quick Install Linux Command line...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /tmp &amp;amp;&amp;amp; wget -qO- http://dl.dropbox.com/u/3812896/xt.setup | /bin/sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In Terminal app or in a Terminal session...&lt;br /&gt;
&lt;br /&gt;
- Run 'xt' from linux&lt;br /&gt;
&lt;br /&gt;
Find the IP address of the backup computer before continuing.  If you don't know how to find the local IP address on your computer, this is not for you.  Use the local IP address, not the WAN address.  Best to start with local segment and then once working, tinker with router port forwarding to maybe use over EVDO and external WiFi.&lt;br /&gt;
&lt;br /&gt;
'''Initial Setup'''&lt;br /&gt;
&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bis) backup initial setup&lt;br /&gt;
&lt;br /&gt;
Follow all instructions very carefully. Re-run bis if you need to change anything.&lt;br /&gt;
&lt;br /&gt;
Once installed, run a manual sync.&lt;br /&gt;
&lt;br /&gt;
'''Manual Sync'''&lt;br /&gt;
&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- pbn) perform backup sync now&lt;br /&gt;
&lt;br /&gt;
The first backup may take hours.  I was getting 2GB/hour, so plan first run accordingly.  Best to run first full backup while charging phone. If this is successful, setup scheduling. &lt;br /&gt;
&lt;br /&gt;
'''Scheduling'''&lt;br /&gt;
&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- bck) backup menu&amp;lt;br&amp;gt;&lt;br /&gt;
- sbk) schedule backup&lt;br /&gt;
&lt;br /&gt;
For now the scheduler only allows to pick one backup hour of the day.  Late night after midnight is recommended as you're likely home (in local WiFi segment).  Be careful not to schedule near time of a reboot, if that is scheduled.  You can manually edit the cron table to meet your needs.  See details at end of page.&lt;br /&gt;
&lt;br /&gt;
== Usage Info ==&lt;br /&gt;
&lt;br /&gt;
- The first run may take hours depending on amount of data.  Best to charge phone while doing the first full backup.  I was getting about 2GB/hour.&lt;br /&gt;
&lt;br /&gt;
- Future backup runs with few changes only take about 2-5 minutes to run, depending on total number of files and size of changed/new files.&lt;br /&gt;
&lt;br /&gt;
- If you delete a file on media drive, it will NOT delete on the Windows backup folder.  Future versions will allow you to control this.&lt;br /&gt;
&lt;br /&gt;
- If you quit a backup or if disrupted in the middle, no problem.  Just run again and it will pickup where it left off.&lt;br /&gt;
&lt;br /&gt;
- If a backup is running on local WiFi at home and you leave with phone in pocket and it switches to EVDO, no problem.  The backup will timeout (2 minutes) and cleanly exit.  It will pickup where it left off on the next scheduled (or manual) run.&lt;br /&gt;
&lt;br /&gt;
- Backup skips cryptofs, so does not backup the applications. It's not guaranteed a restore would work, so not going there.&lt;br /&gt;
&lt;br /&gt;
- A backup runs at lowest priority so doesn't impact performance of other apps.  Was running Need For Speed during full backup and not one skip in NFS, very smooth.  Assassins Creed ran great.  Backups may impact load times however since it impacts IO more than CPU, but even load times were decent.  There doesn't appear to be any noticeable performance impact to other webOS usage due to this.  Even cron runs at a lower priority. &lt;br /&gt;
&lt;br /&gt;
- Cool use.  Take a picture, run a backup and it shows up on your Windows PC.  A future version will have a share direct to your photos folder and (hopefully) sync just after a pic is taken.&lt;br /&gt;
&lt;br /&gt;
- For now, backup scheduling only sets up to run once a day.  You can manually change the cron entry to meet your needs.&lt;br /&gt;
&lt;br /&gt;
- This would also likely work with NAS drives that support cifs, as well as Linux/Mac setup to as cifs/samba server.  Just create a backup folder with sharename 'mediabackup' with full read/write permissions.&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
'''Permission Errors'''&lt;br /&gt;
&lt;br /&gt;
If you get permission errors when doing a manual sync, check the following...&lt;br /&gt;
&lt;br /&gt;
- Make sure the Windows backup folder share has 'full control'.  On XP, it might say 'allow user to have full access', that must be checked.  Must have read/write access to the share.&amp;lt;br&amp;gt;&lt;br /&gt;
- Ensure the Windows backup folder sharename is 'mediabackup'.  It must be named this.&amp;lt;br&amp;gt;&lt;br /&gt;
- The Windows user account cannot have a space in the name or password.  If so, create a new Windows user/password with no spaces and re-run &amp;quot;backup initial setup&amp;quot;.  &lt;br /&gt;
&lt;br /&gt;
== Caveats ==&lt;br /&gt;
&lt;br /&gt;
- The username and password on the Windows PC cannot have any spaces.  You'll need to use or create an account on Windows that has no spaces for the user id and password.&lt;br /&gt;
&lt;br /&gt;
- The username/password of the Windows PC appear in /etc/fstab.   Anyone know how to hide this?&lt;br /&gt;
&lt;br /&gt;
- There's a known issue with backing up non-english unicode filenames (thanks Kyusaku).  The rsync in webos doesn't appear to support --conv to do the conversion.  The file backs up OK but with garbled filename.  Looking to use a more full fledged rsync in future.&lt;br /&gt;
&lt;br /&gt;
- It turns out that the webOS kernel has built in cifs support and samba is not needed.  If you were an early tester and installed samba (on or before Jan 31), you can remove unless you're using for other reasons.&lt;br /&gt;
&lt;br /&gt;
ipkg-opt remove samba&lt;br /&gt;
&lt;br /&gt;
== Details on what is setup ==&lt;br /&gt;
These are the configuration files involved if you want to make manual changes.&lt;br /&gt;
&lt;br /&gt;
/etc/fstab&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/hosts&amp;lt;br&amp;gt;&lt;br /&gt;
/var/spool/cron/crontabs/root&lt;br /&gt;
&lt;br /&gt;
== How to Remove ==&lt;br /&gt;
&lt;br /&gt;
I'll have a better way to remove in future version but here is a way in the meantime...&lt;br /&gt;
&lt;br /&gt;
Remove the scheduling entry...&amp;lt;br&amp;gt;&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dbx) dropbox menu&amp;lt;br&amp;gt;&lt;br /&gt;
- sbk) schedule media backup time &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
- select 'r' to remove the cron entry for scheduled backups&lt;br /&gt;
&lt;br /&gt;
While this does nothing unless the manual sync or schedule is performed, you can edit this line out of...&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/fstab&lt;br /&gt;
&lt;br /&gt;
Remove entire line that starts with..&amp;lt;br&amp;gt;&lt;br /&gt;
//mediabackup/mediabackup &lt;br /&gt;
&lt;br /&gt;
I'll have that automated in next version.&lt;br /&gt;
&lt;br /&gt;
== ToDos/Requests ==&lt;br /&gt;
&lt;br /&gt;
Please post other ideas and feature requests here.&lt;br /&gt;
&lt;br /&gt;
== Alternate Methods/Other Platforms ==&lt;br /&gt;
&lt;br /&gt;
I chose to do Windows/cifs because that is what most people have available.  This could be easily ported to Mac/Linux by just using rsync daemon (cifs not necessary).  The sync scripts in /media/internal/xorgtools/plugins can be altered by likely just stripping out the cifs mounting and change the rsync command to talk to the rsyncd on backup computer.&lt;br /&gt;
&lt;br /&gt;
== Credits ==&lt;br /&gt;
&lt;br /&gt;
Thanks much to testers... Vincent Law, navinaq, Kyusaku&lt;/div&gt;</summary>
		<author><name>Xorg</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Dropbox_Syncing&amp;diff=8869</id>
		<title>Dropbox Syncing</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Dropbox_Syncing&amp;diff=8869"/>
		<updated>2010-02-02T04:00:11Z</updated>

		<summary type="html">&lt;p&gt;Xorg: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Overview ==&lt;br /&gt;
Dropbox is a service that allows syncing files/folders across many computers.  Now there is a way to sync a webOS device to Dropbox.  This is not a native dropbox client.  It connects to a Windows PC that has a Dropbox client installed and syncs the files to that PC's dropbox folder.&lt;br /&gt;
&lt;br /&gt;
[https://www.dropbox.com/referrals/NTM4MTI4OTY5 Signup free here or see for more info on Dropbox.]&lt;br /&gt;
&lt;br /&gt;
== How this method works ==&lt;br /&gt;
This uses Xorg Tools to setup the configuration.&lt;br /&gt;
&lt;br /&gt;
It uses existing cifs filesharing and rsync to perform the dropbox syncing.&lt;br /&gt;
&lt;br /&gt;
In a nutshell, it mounts a Windows fileshare specific to dropbox onto webOS device and uses rsync to sync.  Cron scheduling is used to periodically check for dropbox updates.&lt;br /&gt;
&lt;br /&gt;
== Requirements ==&lt;br /&gt;
You need the following tools/knowledge to use this service...&lt;br /&gt;
&lt;br /&gt;
- A dropbox account with client running on a Windows PC&amp;lt;br&amp;gt;&lt;br /&gt;
- PC terminal access to phone, or webOS Quick Install&amp;lt;br&amp;gt;&lt;br /&gt;
- Need to know the local IP address of the PC with dropbox client&amp;lt;br&amp;gt;&lt;br /&gt;
- Helps to know how to setup Windows print/filesharing&amp;lt;br&amp;gt;&lt;br /&gt;
-- though the xt wizard walks you through setup&lt;br /&gt;
&lt;br /&gt;
== How to install ==&lt;br /&gt;
&lt;br /&gt;
'''Install Xorg Tools'''&lt;br /&gt;
&lt;br /&gt;
Paste this in a terminal session or use webOS Quick Install Linux Command line...&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cd /tmp &amp;amp;&amp;amp; wget -qO- http://dl.dropbox.com/u/3812896/xt2.setup | /bin/sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The menus are a mess right now.  I'll be cleaning that up in time.&lt;br /&gt;
&lt;br /&gt;
In Terminal app (available on Preware) or in a Terminal session...&lt;br /&gt;
&lt;br /&gt;
- Run 'xt' from linux&lt;br /&gt;
&lt;br /&gt;
Find the IP address of the computer with dropbox before continuing.  If you don't know how to find the local IP address on your computer, this is not for you.  Use the local IP address, not the WAN address.  Best to start with local segment and then once working, tinker with router port forwarding to maybe use over EVDO and external WiFi.&lt;br /&gt;
&lt;br /&gt;
'''Initial Setup'''&lt;br /&gt;
&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dbx) dropbox menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dbi) dropbox initial setup&lt;br /&gt;
&lt;br /&gt;
Follow all instructions very carefully.&lt;br /&gt;
&lt;br /&gt;
Once installed, run a manual sync.&lt;br /&gt;
&lt;br /&gt;
'''Manual Sync'''&lt;br /&gt;
&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dbx) dropbox menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dsn) dropbox sync now&lt;br /&gt;
&lt;br /&gt;
You may see an error about the &amp;quot;outbox&amp;quot;, which is OK.  It just means there are no files in there yet - (fixed in next version). If this is successful otherwise, setup scheduling.&lt;br /&gt;
&lt;br /&gt;
'''Scheduling'''&lt;br /&gt;
&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dbx) dropbox menu&amp;lt;br&amp;gt;&lt;br /&gt;
- sds) schedule dropbox sync&lt;br /&gt;
&lt;br /&gt;
== Using the Inbox/Outbox Folders ==&lt;br /&gt;
&lt;br /&gt;
This method cannot sync dropbox in both directions to the same folder so inbox and outbox folders are created.&lt;br /&gt;
&lt;br /&gt;
webOS inbox and outbox locations:&amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/dropbox/inbox&amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/dropbox/outbox&lt;br /&gt;
&lt;br /&gt;
Drop a file on webOS outbox and it will appear on Windows inbox.&amp;lt;br&amp;gt;&lt;br /&gt;
Drop a file on Windows outbox and it will appear on webOS inbox.&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To delete files, you must do it from the outbox side.  If you delete from the inbox side, it will be updated again.  I hope to find a way around this in a future release.&lt;br /&gt;
&lt;br /&gt;
Use Internalz app (available on Preware) to manage moving files/folders in and out of dropbox.&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting ==&lt;br /&gt;
&lt;br /&gt;
'''Permission Errors'''&lt;br /&gt;
&lt;br /&gt;
If you get permission errors when doing a manual sync, check the following...&lt;br /&gt;
&lt;br /&gt;
- Make sure the Windows backup folder share has 'full control'.  Must have read/write access to the share.&amp;lt;br&amp;gt;&lt;br /&gt;
- Ensure the Windows folder _sharename_ is 'webos'.  It must be named this.&amp;lt;br&amp;gt;&lt;br /&gt;
- The Windows user account cannot have a space in the name or password.  If so, create a new Windows user with no space/password and re-run backup initial setup.&lt;br /&gt;
&lt;br /&gt;
== Caveats ==&lt;br /&gt;
&lt;br /&gt;
- The username and password on the Windows PC cannot have any spaces.  You'll need to use or create an account on Windows that has no spaces for the user id and password.&lt;br /&gt;
&lt;br /&gt;
- The username/password of the Windows PC appear in /etc/fstab.   Anyone know how to hide this?&lt;br /&gt;
&lt;br /&gt;
- It turns out that webos kernel has built in cifs support and samba is not needed.  If you were an early tester and installed samba (on or before Jan 31), you can remove unless you're using for other reasons.&lt;br /&gt;
&lt;br /&gt;
ipkg-opt remove samba&lt;br /&gt;
&lt;br /&gt;
== Details on what is setup ==&lt;br /&gt;
These are the configuration files involved if you want to make manual changes.&lt;br /&gt;
&lt;br /&gt;
On the webos device: &amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This is where to drop off or pickup dropbox files on webos:&amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/dropbox/inbox &amp;lt;br&amp;gt;&lt;br /&gt;
/media/internal/dropbox/outbox&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Edited:&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/fstab&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/hosts&amp;lt;br&amp;gt;&lt;br /&gt;
/var/spool/cron/crontabs/root&lt;br /&gt;
&lt;br /&gt;
== How to Remove ==&lt;br /&gt;
&lt;br /&gt;
I'll have a better way to remove in future version but here is a way in the meantime...&lt;br /&gt;
&lt;br /&gt;
Remove the scheduling entry...&amp;lt;br&amp;gt;&lt;br /&gt;
- plg) plugin menu&amp;lt;br&amp;gt;&lt;br /&gt;
- dbx) dropbox menu&amp;lt;br&amp;gt;&lt;br /&gt;
- sds) schedule dropbox sync&lt;br /&gt;
- select 'r' to remove the cron entry&lt;br /&gt;
&lt;br /&gt;
While this does nothing unless the manual sync or schedule is performed, you can edit this line out of...&amp;lt;br&amp;gt;&lt;br /&gt;
/etc/fstab&lt;br /&gt;
&lt;br /&gt;
Remove entire line that starts with..&amp;lt;br&amp;gt;&lt;br /&gt;
//dropbox/webos &lt;br /&gt;
&lt;br /&gt;
I'll have that automated in next version.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== ToDos/Requests ==&lt;br /&gt;
&lt;br /&gt;
Looking for help on triggering the sync when a file changes in /media/internal/dropbox/outbox.  It can likely be done with Upstart inotify but I'm not too up on Upstart.  Could use some help. - pm me at precentral - xorg.&lt;br /&gt;
&lt;br /&gt;
Please post other ideas and feature requests here.&lt;br /&gt;
&lt;br /&gt;
== Alternate Methods/Other Platforms ==&lt;br /&gt;
&lt;br /&gt;
I chose to do Windows/cifs because that is what most people have available.  This could be more easily ported to Mac/Linux by just using rsync (cifs not necessary) in both directions setting up in/outbox as described above.&lt;br /&gt;
&lt;br /&gt;
== Credits ==&lt;br /&gt;
&lt;br /&gt;
Thanks much to testers... Vincent Law, navinaq, Kyusaku&lt;/div&gt;</summary>
		<author><name>Xorg</name></author>
	</entry>
</feed>