?

Log in

No account? Create an account
jbackup.pl question. - LiveJournal Client Discussions — LiveJournal [entries|archive|friends|userinfo]
LiveJournal Client Discussions

[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

jbackup.pl question. [Apr. 11th, 2005|04:55 pm]
LiveJournal Client Discussions

lj_clients

[jackal]
I'm trying to back up my journal using jbackup.pl . I want to get my journal into a text format so I can vi/grep it and find old entries.

When I run jbackup.pl however all I get back are dates. No actually entries for them.


$ ./jbackup.pl --dump=raw > journal.out
do_tie: tying database
do_untie: untying database

When I look at journal.out it's all:

event:realtime:1440 = 2001-07-23 21:21:41
event:realtime:4536 = 2004-07-07 05:07:34
event:realtime:543 = 2000-12-07 10:44:22
event:realtime:2692 = 2002-07-24 18:44:48
event:realtime:4797 = 2004-10-15 18:34:25
event:realtime:4435 = 2004-05-18 17:43:49
event:realtime:559 = 2000-12-10 23:05:44
event:realtime:2591 = 2002-06-13 07:55:44
event:realtime:632 = 2000-12-23 12:20:37
event:realtime:4334 = 2004-04-01 05:29:57
event:realtime:2490 = 2002-05-22 23:02:46
event:realtime:4595 = 2004-07-27 04:20:14
event:realtime:648 = 2000-12-30 01:04:57
event:realtime:4233 = 2004-02-26 16:18:08
event:realtime:4494 = 2004-06-20 21:09:55
event:realtime:4696 = 2004-09-07 23:05:57
event:realtime:4999 = 2005-01-09 12:48:50
event:realtime:4132 = 2004-02-02 10:49:29
...etc.

Am I doing something wrong?
linkReply

Comments:
[User Picture]From: vanbeast
2005-04-12 04:06 pm (UTC)
It wasn't my post :)

ljArchive isn't available for Linux. I meant Linux isn't the only reason why someone wouldn't be able to run ljArchive.

The poster specifically said they wanted to be able to grep/vi their journal. While ljArchive can output to flat text (as far as I know, I haven't ever exported from it), jbackup does that by default.

It's also much easier to assemble a toolchain in a *nix environment than Windows. Sure, you can get grep, vi, and all the other *nix tools to run under win32, but it's not as easy.
(Reply) (Parent) (Thread)
[User Picture]From: jackal
2005-04-12 09:51 pm (UTC)
[jackal@jackal journal]$ uname -a
Linux jackal.dnsalias.com 2.6.10-1.770_FC3 #1 Thu Feb 24 14:00:06 EST 2005 i686 i686 i386 GNU/Linux

[jackal@jackal journal]$ cat /etc/redhat-release
Fedora Core release 3 (Heidelberg)

[jackal@jackal journal]$ ./jbackup.pl --dump=raw|head -100
do_tie: tying database
do_untie: untying database
(Reply) (Parent) (Thread)
[User Picture]From: vanbeast
2005-04-12 10:00 pm (UTC)
I'm not following...
(Reply) (Parent) (Thread)