Aller au contenu principal

pagefile.sys and hiberfil.sys not excluded ?!?

Thread needs solution
Regular Poster
Contributions: 51
Commentaires: 195

Hey there,

the documentation states,

The following items are not included in a disk or volume backup (as well as in a file-level backup):

  • The swap file (pagefile.sys) and the file that keeps the RAM content when the machine goes into hibernation (hiberfil.sys). After recovery, the files will be re-created in the appropriate place with the zero size.

I now created a plan on a newly installed system and pagefile.sys and hiberfil.sys are present in the backup....

Is this a bug or is the documantation not valid?

Thanks in advance
Sven

0 Users found this helpful
Forum Support specialist
Contributions: 0
Commentaires: 2016

Hello Sven.

These are only headers of the files, the content is not included, they are empty.

Regular Poster
Contributions: 51
Commentaires: 195

Hello Maria,

are you sure ?

The documentation states

The swap file (pagefile.sys) and the file that keeps the RAM content when the machine goes into hibernation (hiberfil.sys). After recovery, the files will be re-created in the appropriate place with the zero size.

I did a restore of the pagefile to a different folder and it was a file with the correct size (4GB) and if I open it with a hex editor it contains not only zeroes......

So it seems as if it is not really empty or where is my fault in thinking?

 

S.

 

Forum Support specialist
Contributions: 0
Commentaires: 2016

Hello Sven.

As you correctly mentioned, these files are re-created after recovery in a new system. These are new files now that are created by the system with the first start.

The backup contains only headers of these files (and yes, their sizes).

Regular Poster
Contributions: 51
Commentaires: 195

Maria,

I think you misunderstood my posting.

I restored the pagefile.sys from the backup to C:\Testrecovery.
And this recovered file has the 4GB in size and not as mentioned in the documentation "zero size"

so where is my fault in thinking?

I did not restore it over an existing pagefile or in a new system, so there was no recreation as you stated.

S.

Forum Support specialist
Contributions: 0
Commentaires: 2016

Hello Sven.

We back up info about the file and its size and reserve the respective space on a target disk for restoration. The content is not backed up.

You can do a test: create a backup with the current size pagefile. sys and then increase it's size and create a backup again. Then please compare the sizes of these two backups - it will be the same even with the increased pagefile.sys.

Regular Poster
Contributions: 51
Commentaires: 195

Hey Maria,
I did the test.

So we can state the following things:

- pagefile.sys and hiberfil.sys are excluded and need no space in the backup file

- although these files are excluded, they are listed with the correct size if I browse the backup (--> possibility for confusion)

- If these files are restored, they are restored with the correct size and dummy content (not filled with zeroes!!)
--> Statement in documentation is wrong:

[...] the files will be re-created in the appropriate place with the zero size.

 

Can you confirm this?

S.

 

Forum Support specialist
Contributions: 0
Commentaires: 2016

Hello Sven.

- pagefile.sys and hiberfil.sys are excluded and need no space in the backup file

Yes

- although these files are excluded, they are listed with the correct size if I browse the backup (--> possibility for confusion)

Yes

- If these files are restored, they are restored with the correct size and dummy content (not filled with zeroes!!)

No. These files are not restored. The respective space is reserved on the target disk while restoration. The files are re-created by the system with the first start.

--> Statement in documentation is wrong:

[...] the files will be re-created in the appropriate place with the zero size.

This is not the best explanation.

Regular Poster
Contributions: 51
Commentaires: 195

Hi Maria,

No. These files are not restored. The respective space is reserved on the target disk while restoration. The files are re-created by the system with the first start.

Well, I dis a restore of the pagefile to a different location (D: \Test) and there the file was not filled with 0´s.
Seems as if Acronis puts some content in there or just setup the file in the file system by simply linking the blocks on the HDD to a file with the correct size.
Hopefully Windows can handle such a (possibly corrupted) file at startup.

 

--> Statement in documentation is wrong:

[...] the files will be re-created in the appropriate place with the zero size.

This is not the best explanation.

Sorry, that is not a bad explanation....it is a mistake in the documentation.
The size is NOT zero as stated, and therefore the statement is simply wrong.

S.