SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
Linux ---> FreeBSD migration problem
Author Message
Post Linux ---> FreeBSD migration problem 
Hello!

Few days ago I migrated from (Arch)Linux to (Free)PC-BSD and before
that I did complete backup to tapes as well as on the external HD of my
Linux OS along with user data.

Just before that, I also, while still on Linux, migrated from Bacula
to Amanda my whole multimedia collection (scanned 35mm positives as
well as hi-8 & vhs movies).

I tested amrecover procedure as well as did amcheckdump and everything
was fine.

Today I've installed amanda-server on my Free/PC BSD desktop (from the
ports), but not matter what I do, when i attempt to do amrecover I get:

"No index records for disk for specified date
If date correct, notify system administrator"

Let me add that I copied my Amanda config/state/log files from Linux to
BSD. At first I re-created the same Linux setup on FreeBSD, but then
was hinted on #amanda to check whether both configuration match upon
which I discovered that on FreeBSD Amanda expects state/log files
at /usr/local/var/amanda.

However, despite of cp-ing Linux config to the new location, I get the
same error.

Now I wonder whether the solution might be to try to build Amanda in a
way to use same location for config files as on LInux (/var/amanda) or
it should not matter?

What might be wrong?

I am not happy if the only solution would be to restore my multi-tape
dumps back to HD and then doing backup again?

Any hint?

--
“In the material world, conceptions of good and bad are
all mental speculations…” (Sri Caitanya Mahaprabhu)

http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810

Post Linux ---> FreeBSD migration problem 
logdir is configurable in amanda.conf
Run 'amgetconf CONF logdir' to find where amanda expect them.
Do the index are there? They should be in 'amgetconf CONF indexdir'
Do the tapelist file list all label with the correct date?
Do 'amadmin CONF find' list the dump?
What's in the amindexd debug file?

Jean-Louis

Gour-Gadadhara Dasa wrote:
Hello!

Few days ago I migrated from (Arch)Linux to (Free)PC-BSD and before
that I did complete backup to tapes as well as on the external HD of my
Linux OS along with user data.

Just before that, I also, while still on Linux, migrated from Bacula
to Amanda my whole multimedia collection (scanned 35mm positives as
well as hi-8 & vhs movies).

I tested amrecover procedure as well as did amcheckdump and everything
was fine.

Today I've installed amanda-server on my Free/PC BSD desktop (from the
ports), but not matter what I do, when i attempt to do amrecover I get:

"No index records for disk for specified date
If date correct, notify system administrator"

Let me add that I copied my Amanda config/state/log files from Linux to
BSD. At first I re-created the same Linux setup on FreeBSD, but then
was hinted on #amanda to check whether both configuration match upon
which I discovered that on FreeBSD Amanda expects state/log files
at /usr/local/var/amanda.

However, despite of cp-ing Linux config to the new location, I get the
same error.

Now I wonder whether the solution might be to try to build Amanda in a
way to use same location for config files as on LInux (/var/amanda) or
it should not matter?

What might be wrong?

I am not happy if the only solution would be to restore my multi-tape
dumps back to HD and then doing backup again?

Any hint?



Post Linux ---> FreeBSD migration problem 
On Mon, 04 Apr 2011 18:01:13 -0400
Jean-Louis Martineau <martineau < at > zmanda.com> wrote:

logdir is configurable in amanda.conf

OK.

Run 'amgetconf CONF logdir' to find where amanda expect them.

OK. They're (now) in the correct place.

Do the index are there? They should be in 'amgetconf CONF indexdir'

Yes.

Do the tapelist file list all label with the correct date?

Here is the content of one such file:

20110317120137 d-movies-hi8 reuse
20110317120137 c-movies-hi8 reuse
20110317120137 b-movies-hi8 reuse
20110317120137 a-movies-hi8 reuse

Do 'amadmin CONF find' list the dump?

No.

[amanda < at > atmarama amanda] amadmin movies-hi8 find
Warning: no log files found for tape d-movies-hi8 written 2011-03-17
12:01:37
Warning: no log files found for tape c-movies-hi8 written 2011-03-17
12:01:37
Warning: no log files found for tape b-movies-hi8 written 2011-03-17
12:01:37
Warning: no log files found for tape a-movies-hi8 written 2011-03-17
12:01:37

No dump to list


Does it mean I'd have to re-backup (iow, restore and backup again)?

What's in the amindexd debug file?

I don't have those and believe those were in /tmp/amanda which I didn't
backup. Are they required for amrecover to work properly?


Otoh, for another (most recent) config (which backed up LInux) I get:


[amanda < at > atmarama amanda] amadmin backup find
Bstrange log line in /usr/local/var/amanda/state/log/log.20110331101407.0 "backup-1"
Bstrange log line in /usr/local/var/amanda/state/log/log.20110331101407.0 "backup-1"
Bstrange log line in /usr/local/var/amanda/state/log/log.20110331101407.0 "backup-1"
Bstrange log line in /usr/local/var/amanda/state/log/log.20110331101407.0 "backup-1"
Bstrange log line in /usr/local/var/amanda/state/log/log.20110331101407.0 "backup-1"
Bstrange log line in /usr/local/var/amanda/state/log/log.20110331101407.0 "backup-1"
Bstrange log line in /usr/local/var/amanda/state/log/log.20110331101407.0 "backup-1"
Bstrange log line in /usr/local/var/amanda/state/log/log.20110331101407.0 "backup-1"
Bstrange log line in /usr/local/var/amanda/state/log/log.20110331101407.0 "backup-1"
Bstrange log line in /usr/local/var/amanda/state/log/log.20110331101407.0 "backup-1"
Bstrange log line in /usr/local/var/amanda/state/log/log.20110331101407.0 "backup-2"
Bstrange log line in /usr/local/var/amanda/state/log/log.20110331101407.0 "backup-2"
Bstrange log line in /usr/local/var/amanda/state/log/log.20110331101407.0 "backup-2"
Bstrange log line in /usr/local/var/amanda/state/log/log.20110331101407.0 "backup-2"
Bstrange log line in /usr/local/var/amanda/state/log/log.20110331101407.0 "backup-2"
Bstrange log line in /usr/local/var/amanda/state/log/log.20110331101407.0 "backup-2"
Bstrange log line in /usr/local/var/amanda/state/log/log.20110331101407.0 "backup-2"
Bstrange log line in /usr/local/var/amanda/state/log/log.20110331101407.0 "backup-2"
Bstrange log line in /usr/local/var/amanda/state/log/log.20110331101407.0 "localhost"
Bstrange log line in /usr/local/var/amanda/state/log/log.20110331101407.0 "backup-2"
Bstrange log line in /usr/local/var/amanda/state/log/log.20110331101407.0 "localhost"
Bstrange log line in /usr/local/var/amanda/state/log/log.20110331101407.0 "backup-2"
Bstrange log line in /usr/local/var/amanda/state/log/log.20110331101407.0 "localhost"
Bstrange log line in /usr/local/var/amanda/state/log/log.20110331101407.0 "backup-2"
Bstrange log line in /usr/local/var/amanda/state/log/log.20110331101407.0 "localhost"
Bstrange log line in /usr/local/var/amanda/state/log/log.20110331101407.0 "backup-2"
Bstrange log line in /usr/local/var/amanda/state/log/log.20110331101407.0 "localhost"

No dump to list


What is this?


Sincerely,
Gour

--
“In the material world, conceptions of good and bad are
all mental speculations…” (Sri Caitanya Mahaprabhu)

http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810

Post Linux ---> FreeBSD migration problem 
What was the amanda release on the linux box, What is the release on the
FreeBSD box?

Gour-Gadadhara Dasa wrote:
On Mon, 04 Apr 2011 18:01:13 -0400
Jean-Louis Martineau <martineau < at > zmanda.com> wrote:


logdir is configurable in amanda.conf


OK.


Run 'amgetconf CONF logdir' to find where amanda expect them.


OK. They're (now) in the correct place.

I hope you have a different logdir for each config.

Do the index are there? They should be in 'amgetconf CONF indexdir'


Yes.


Do the tapelist file list all label with the correct date?


Here is the content of one such file:

20110317120137 d-movies-hi8 reuse
20110317120137 c-movies-hi8 reuse
20110317120137 b-movies-hi8 reuse
20110317120137 a-movies-hi8 reuse


Do 'amadmin CONF find' list the dump?


No.

[amanda < at > atmarama amanda] amadmin movies-hi8 find
Warning: no log files found for tape d-movies-hi8 written 2011-03-17
12:01:37
Warning: no log files found for tape c-movies-hi8 written 2011-03-17
12:01:37
Warning: no log files found for tape b-movies-hi8 written 2011-03-17
12:01:37
Warning: no log files found for tape a-movies-hi8 written 2011-03-17
12:01:37


It clearly state it do not find the log file, where is the
log.20110317120137.0, is it in `amgetcong movies-hi8 logdir`
Post the file.

No dump to list


Does it mean I'd have to re-backup (iow, restore and backup again)?


What's in the amindexd debug file?


I don't have those and believe those were in /tmp/amanda which I didn't
backup. Are they required for amrecover to work properly?

They were generated by your amrecover try, you can also look at the
amadmin debug file, sometimes they have more information on what's wrong.

Otoh, for another (most recent) config (which backed up LInux) I get:


[amanda < at > atmarama amanda] amadmin backup find
Bstrange log line in /usr/local/var/amanda/state/log/log.20110331101407.0 "backup-1"
Bstrange log line in /usr/local/var/amanda/state/log/log.20110331101407.0 "localhost"

No dump to list


What is this?

Something wrong in the file, nobody can know without looking at it.

Post Linux ---> FreeBSD migration problem 
On Tue, 05 Apr 2011 06:43:58 -0400
Jean-Louis Martineau <martineau < at > zmanda.com> wrote:

What was the amanda release on the linux box, What is the release on
the FreeBSD box?

Linux: 3.2.2
FreeBSD: 3.2.1


--
“In the material world, conceptions of good and bad are
all mental speculations…” (Sri Caitanya Mahaprabhu)

http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810

Post Linux ---> FreeBSD migration problem 
Gour-Gadadhara Dasa wrote:
On Tue, 05 Apr 2011 06:43:58 -0400
Jean-Louis Martineau <martineau < at > zmanda.com> wrote:


What was the amanda release on the linux box, What is the release on
the FreeBSD box?


Linux: 3.2.2
FreeBSD: 3.2.1

A downgrade, some log line format changed, you must upgrade to 3.2.2.

Jean-Louis

Post Linux ---> FreeBSD migration problem 
On Tue, 05 Apr 2011 07:24:05 -0400
Jean-Louis Martineau <martineau < at > zmanda.com> wrote:

A downgrade, some log line format changed, you must upgrade to 3.2.2.

It helped Smile although it's strange that minor release breaks
compatibility.

However, it also solves minor problem with my Linux backup which I've
on external USB disk.

Can I assume that those configs which cannot be found with:

amadmin CONF find

like:

Warning: no log files found for tape a-slides written 2011-03-10 06:32:21

have to be re-done?

I've followed wiki and put:

record no

for those configs since I need to backup those slides/movies for
archive and just from time to time (when working on some material)
restore some parts of it.

Do you still recommend to use 'record=no' next time when I'll have to
perform backup again?



Sincerely,
Gour

--
“In the material world, conceptions of good and bad are
all mental speculations…” (Sri Caitanya Mahaprabhu)

http://atmarama.net | Hlapicina (Croatia) | GPG: 52B5C810

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB