OESF Portables Forum
Everything Else => Sharp Zaurus => Model Specific Forums => Distros, Development, and Model Specific Forums => Archived Forums => C1000/3x00 General discussions => Topic started by: laur on December 16, 2005, 11:25:44 pm
-
How do I (change a config file?) so my applications save the data to my CF card? Right now I am using the Calendar and ToDo that Cacko installs.
I am new at this so be patient and explain in detail (so other newbies can learn too!!!)
THANSK
-
How do I (change a config file?) so my applications save the data to my CF card? Right now I am using the Calendar and ToDo that Cacko installs.
I am new at this so be patient and explain in detail (so other newbies can learn too!!!)
THANSK
[div align=\"right\"][a href=\"index.php?act=findpost&pid=107364\"][{POST_SNAPBACK}][/a][/div]
I've made a script that backs up my app and config files to my card. I try to run it once a day. You may want to consider this route instead, because not all apps support saving their data files in user defined places.
I'll post my script if you're interested.
-
How do I (change a config file?) so my applications save the data to my CF card? Right now I am using the Calendar and ToDo that Cacko installs.
I am new at this so be patient and explain in detail (so other newbies can learn too!!!)
THANSK
[div align=\"right\"][a href=\"index.php?act=findpost&pid=107364\"][{POST_SNAPBACK}][/a][/div]
I've made a script that backs up my app and config files to my card. I try to run it once a day. You may want to consider this route instead, because not all apps support saving their data files in user defined places.
I'll post my script if you're interested.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=107385\"][{POST_SNAPBACK}][/a][/div]
Thats a great idea, thanks and yes please post it.
I gather I run the script from the Console?
When people install apps and run them from their sd/cf cards will the user data be on the cards as well? Is this an option for less used apps?
-
Thats a great idea, thanks and yes please post it.
I gather I run the script from the Console?
When people install apps and run them from their sd/cf cards will the user data be on the cards as well? Is this an option for less used apps?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=107404\"][{POST_SNAPBACK}][/a][/div]
I'll clean it up and add comments and post in on Monday. The answer to your first question is yes, but you can create an actual clickable icon if you want.
I'm not 100% sure about your second question, but I would tend to say yes.
And on your third question I'm learning as I'm going too but from what I've read some apps do not like to be installed anywhere but your internal flash memory.
-
How do I (change a config file?) so my applications save the data to my CF card? Right now I am using the Calendar and ToDo that Cacko installs.
I am new at this so be patient and explain in detail (so other newbies can learn too!!!)
THANSK
[div align=\"right\"][{POST_SNAPBACK}][/a][/div] (http://index.php?act=findpost&pid=107364\")
I've made a script that backs up my app and config files to my card. I try to run it once a day. You may want to consider this route instead, because not all apps support saving their data files in user defined places.
I'll post my script if you're interested.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=107385\"][{POST_SNAPBACK}][/a][/div]
Thats a great idea, thanks and yes please post it.
I gather I run the script from the Console?
When people install apps and run them from their sd/cf cards will the user data be on the cards as well? Is this an option for less used apps?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=107404\"][{POST_SNAPBACK}][/a][/div]
well, since the Zaurus runs linux, you can use symbolic links to refer to files at any locations. for that, you need your cf or sd card to be formatted as ext2 or ext3 instead of the default fat or fat32 filesystem. Then you can move your datafiles to your card and symbolically link the original location to your new location. the applications don't need to know about it. as far as they are concerned, they are writing to the same place.
read up on linux a bit. i learned linux by reading [a href=\"http://www.tldp.org/]http://www.tldp.org/[/url]
-
Thats a great idea, thanks and yes please post it.
I gather I run the script from the Console?
When people install apps and run them from their sd/cf cards will the user data be on the cards as well? Is this an option for less used apps?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=107404\"][{POST_SNAPBACK}][/a][/div]
I'll clean it up and add comments and post in on Monday. The answer to your first question is yes, but you can create an actual clickable icon if you want.
I'm not 100% sure about your second question, but I would tend to say yes.
And on your third question I'm learning as I'm going too but from what I've read some apps do not like to be installed anywhere but your internal flash memory.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=107447\"][{POST_SNAPBACK}][/a][/div]
Meanie has some good info/tips.
I'm almost finished cleaning up the script (sorry for the delay, I got sick), did you still want me to post it?
-
Meanie has some good info/tips.
I'm almost finished cleaning up the script (sorry for the delay, I got sick), did you still want me to post it?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=107940\"][{POST_SNAPBACK}][/a][/div]
Yes. please. I will help me and the other newbies.
I hope you are feeling better.
-
Meanie has some good info/tips.
I'm almost finished cleaning up the script (sorry for the delay, I got sick), did you still want me to post it?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=107940\"][{POST_SNAPBACK}][/a][/div]
Yes. please. I will help me and the other newbies.
I hope you are feeling better.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=107968\"][{POST_SNAPBACK}][/a][/div]
Thanks, I am feeling better now.
I'm still working on the script (I keep finding things I want to backup), but hopefully I'll be done in the next day or two as I want to try flashing to pdaXrom again.
-
I never really got the script to the point I was happy with but I wanted to try the pdaXrom beta so here's what I have currently:
# opera cookies
cp /home/zaurus/.opera/cookies4.dat /mnt/card/backup/home/zaurus/.opera
# opera bookmarks
cp /home/zaurus/.opera/opera6.adr /mnt/card/backup/home/zaurus/.opera
# ka/pi addressbook
cp /home/zaurus/kdepim/apps/kabc/std.vcf /mnt/card/backup/home/zaurus/kdepim/apps/kabc/
# ko/pi calendar
cp /home/zaurus/kdepim/apps/korganizer/mycalendar.ics /mnt/card/backup/home/zaurus/kdepim/apps/korganizer/
# snes save games
cp /home/zaurus/.snes96_snapshots/* /mnt/card/backup/home/zaurus/.snes96_snapshots/
# Gaim contacts and prefs
cp /home/zaurus/.gaim/* /mnt/card/backup/home/zaurus/.gaim/
# pwm/pi database
cp /home/zaurus/kdepim/apps/pwmanager/mqhome.pwm /mnt/card/backup/home/zaurus/kdepim/apps/pwmanager
# kp/pi
cp /home/zaurus/kdepim/apps/kphone/kphone-phonebook.xml /mnt/card/backup/home/zaurus/kdepim/apps/kphone/
cp -R /home/zaurus/kdepim/config/* /mnt/card/backup/home/zaurus/kdepim/config
# all app settings
cp /home/zaurus/Settings/* /mnt/card/backup/home/zaurus/Settings
# kero player
cp /home/zaurus/Applications/keroplayer/* /mnt/card/backup/home/zaurus/Applications/keroplayer
cp /home/zaurus/Documents/kerolist.txt /mnt/card/backup/home/zaurus/Documents
I had to make the directories before I ran the script.
You could tar up the entire directory tree on your card with the current date and then extract it into the root of your Zaurus memory when wanting to do a restore or you can manually pick through your backup and restore what you want.
I realize this is probably prety primative to most people on this forum but hpoefully it will help some people.
Some might ask why I wouldn't want to do a NAND backup. I guess I'm kinda funny and like to start fresh with app installs when I reinstall a ROM/OS.
Please feel free to offer sugestions about how to do it better or how to backup other apps.
A backup is only as good as the last time you tested it so i recommend you test anything you setup for yourself.