Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
John-Haynes
Contributor

R82 migrate_server change

Anyone else notice that migrate_server in R82 is exporting using .txz rather than .tgz?  I'm surprised that the documentation doesn't mention this as it's a big change for anyone scripting anything with this:

https://sc1.checkpoint.com/documents/R82/WebAdminGuides/EN/CP_R82_CLI_ReferenceGuide/Content/Topics-...

 

0 Kudos
11 Replies
the_rock
MVP Gold
MVP Gold

I ran it about 10 days ago and it produced tgz file. I did it exactly like in the example from the migrate server sk.

Andy

0 Kudos
John-Haynes
Contributor

What version of the upgrade tools are you running?

0 Kudos
the_rock
MVP Gold
MVP Gold

Hey,

I cant recall now, but whatever was in the sk.

Andy

0 Kudos
RamGuy239
Advisor
Advisor

I'm getting .txz when using Gaia R82, both $MDS_FWDIR/scripts/migrate_server export and the older $FWDIR/bin/upgrade_tools/migrate export provides .txz instead of .tgz.

Certifications: CCSA, CCSE, CCSM, CCSM ELITE, CCTA, CCTE, CCVS, CCME
0 Kudos
the_rock
MVP Gold
MVP Gold

Had that happen to me last week, I just renamed it to right format with mv command before running the import, no issues.

Andy

0 Kudos
RamGuy239
Advisor
Advisor

I've had no issues with imports, can import .txz directly.

Certifications: CCSA, CCSE, CCSM, CCSM ELITE, CCTA, CCTE, CCVS, CCME
the_rock
MVP Gold
MVP Gold

Right, right...Im almost positive if it does not like the format, it would show that on the screen.

Andy

0 Kudos
Tal_Paz-Fridman
Employee
Employee

Are you using the latest Upgrade Tools?

https://support.checkpoint.com/results/sk/sk135172 

0 Kudos
the_rock
MVP Gold
MVP Gold

I updated them last time, but still got the same thing. I figured it might be by default, thats why I just renamed the file and then all worked.

Andy

0 Kudos
Paul_Hagyard
Advisor

They've moved to use XZ for compressing the migrate export which uses a different algorithm and should provide better compression - at the cost of slower speed and higher memory usage. They've stuck with gzip for the GAiA backups, likely because you can cope with a management server running slow for a bit but it's not desirable on a gateway,

If you needed to manually look at something in the migrate export file use "J" in place of "g" in the tar command, e.g.:
tar tJf <migrate export filename>

With care...

tar xJf <migrate export filename>

(1)
the_rock
MVP Gold
MVP Gold

I noticed that too.

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events