Figuring out the details of how to sync KeepNote across PCs

623 views
Skip to first unread message

Denver Dave

unread,
Dec 10, 2011, 1:53:25 PM12/10/11
to keepnote
I'm tying to sync KeepNote across several PCs with SpiderOak backup.
It is more of a challenge that I thought to figure out what to backup.

Initially, I selected the KeepNote data directory and synced it
across:

Windows XP PC
Windows 7 PC
Knoppix 6.7 USB boot
Ubuntu 11.10

Somewhat to my surprise there is much more traffic than I had
anticipated, generating multiple backups for the same files in the
queue from the multiple PCs.

So I have

Excluded the index.sqlite file
Changed from automatically generated backups upon change to only every
5 minutes for changed files

I'm now wondering it there are additional files that do not have to be
synced and what the ramifications of including them or not including
them are.

Quite a bit of the traffic is for
<my note book> node.xml and notebook.nbk

Do the above two files need to be synced?

Dave Bean

unread,
Dec 10, 2011, 4:10:20 PM12/10/11
to keep...@googlegroups.com
In general the sync using SpiderOak is sort of working.  We have a little argument going on over who's the boss.

It would really help if I could connect up with others that are trying to sync Keepnote with SpiderOak

On ubuntu 11.10, we have the following folders which seem to be fine:
- Log
- Notes
- Clients

however the organize folder has an issue with the following documents
- Desk
- Bedroom
- Mail bookcase
- Mail bookcase (duplicate)
- Mail bookcase (duplicate)

The windows XP PC has really close to the above, but in the Organize folder

- Desk
- Bedroom
- New Page  (does not contain the text that is in the mail bookcase document on ubuntu
- New Page (duplicate)
- New Page (duplicate)

****
Because I only have 2 PCs I can only test 2 at a time and I think it is reasonable to restrict that only one keepnote be active at a time (I'm only one person)

Let's see what happens:

Close ubuntu keepnote and let the queue clear out on the ubuntu spider oad 1:55 pm - 8 items none bigger than 5 K ....wonder what it is finalizing .... I have set to backup schedule every 5 minutes .... XP PC has 5 items to backup -

Been more than 5 minutes - closed KeepNote on Windows XP also - see if that helps.... nope

On XP PC we have in the queue
node.xml
notebook.nbk
notebook.nbk

On Ubuntu 11.10 we have in the queue:
notebook.nbk
node.xml
notebook.nbk
node.xml
notebook.nbk
node.xml

Looked at notebook.nbk - not sure, but don't see items that need to by synced, but obviously something needs to change here.
node.xml - that might be a problem in the syncing strategy.

Just caught a glimpse at node.xml_yc22w1.tmp - interesting keepnote is not open, wonder if this is a spideroak file?

= = = = =
Maybe I need to look again at what I'm trying to accomplish.   Would be awkward to have notes scattered over multiple PCs not agreeing with each other.  At the same time, sometimes when I don't have an internet connection, is when I need my notes most.  Hmmmmm.






Denver Dave

unread,
Dec 11, 2011, 9:53:07 PM12/11/11
to keepnote
'm new to trying out SpiderOak and also to KeepNote and fairly new to
various linux distros I'm trying out. I was having a fit with the
queue and getting KeepNote to sync, so I thought I'd "clean the sync"
and cut back so I had an idea what was going on.

I eliminated by Thunderbird address book backup, which after examining
the log at 32 MB doubt I was backing up the address book at all or
much more and seemed to change when it shouldn't, so eliminated it.

I eliminated the Rednotebook backup that I had just thrown in to have
something to backup.

Eliminated several files in KeepNote that I'm not sure if they should
be synced or not and seemed to be continually changing, but why or if
PC specific, I'm not sure.

= = = = for KeepNote Google Group = = = = =

I only have one notebook at present, called note1

Excluded from backup and sync

- All of the __NOTEBOOK__ folder files including index.sqlite

From the note 1 folder

Excluded
- node.xml (seems to always be changing)
- node.xml_yc22w1.tmp (not sure if a KeepNote fragment or SpiderOak)
- notebook.nbk (seems to always be changing)

= = = = end KeepNote specific items

I switched the "automatic backup" in SpiderOak to 5 minutes which
seemed to make a big difference for files that are continually
changing.

I knew there was something amiss when I noticed that the same file was
in the queue multiple times on more than one PC.

Also, I've treated the backup more as a single-user / sequential PC
approach, meaning only using the applications to be backed up on one
PC at a time. (I am only one person)

Of course I have a lot less data now, but the queues seem to make more
sense.

If anyone else is experimenting with KeepNote in sync between PC's
environment, I'd really like to share ideas.

Matt Rasmussen

unread,
Dec 19, 2011, 12:47:04 PM12/19/11
to keep...@googlegroups.com
Hi Dave,

Just so you know the node.xml_yc22w1.tmp file is a temp file made by
KeepNote. In order to prevent partial writes, KeepNote first writes a
modified note to a temp file. Once the write is complete I then move
the file into the proper place. This is to protect the notebook in
case the computer is shutdown in the middle of a write.

Matt

> --
> You received this message because you are subscribed to the Google Groups "keepnote" group.
> To post to this group, send email to keep...@googlegroups.com.
> To unsubscribe from this group, send email to keepnote+u...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/keepnote?hl=en.
>

Reply all
Reply to author
Forward
0 new messages