Skip to main content

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

Thread needs solution
Regular Poster
Posts: 49
Comments: 190

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
Posts: 0
Comments: 1982

Hello Sven.

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

Regular Poster
Posts: 49
Comments: 190

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
Posts: 0
Comments: 1982

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
Posts: 49
Comments: 190

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
Posts: 0
Comments: 1982

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
Posts: 49
Comments: 190

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.