Create backup to current weekday folder

In Langmeier Backup, backup folders can be created dynamically. This can be used to always back up to the folder of the current day of the week. At the end of the work week, you'll have five backup folders, each with a copy of your data.

How to do it

Click on a backup item in the main Langmeier Backup window, and write in the following in the "Destination" field (assume E: is your backup drive):

E:\Backup from [dddd]

In Langmeier Backup, backup folders can be created dynamically. This can be used to always back up data to the folder of the current day of the week. Here is a tutorial.

After 5 days, your backup folder will look like this:

In Langmeier Backup, backup folders can be created dynamically. This can be used to always backup data to the folder of the current day of the week. Here is a tutorial.

As you can see, the folders in File Explorer are now displayed unsorted. File Explorer can only sort by numbers or by letters in the alphabet. Therefore we ll use the additional variable [w] to prepend the number of the weekday (1 - 7) to the complete backup folder. At the "destination", write in the following (E: is to be replaced again with your correct backup drive):

E:\[w] backup from [dddd]

Now, if you start a daily backup, your backup drive will look like this after a work week:

In Langmeier Backup, backup folders can be created dynamically. This can be used to always back up data to the folder for the current day of the week. Here is a tutorial.

To synchronize the backup folder, turn on the option "Remove deleted files also on backup media" in the backup job settings:

In Langmeier Backup, backup folders can be created dynamically. This can be used to always back up data to the folder for the current day of the week. Here is a tutorial.

Leave all other options at the default.

You will end up with a copy of the then-current data for each past day of the week. Now change the backup media every week for good measure. If you use four different backup media, so in the fifth week you use the first media again, then you can easily always restore your data back to the state of up to four weeks ago. If a file is accidentally deleted, then it can be restored up to four weeks back.

 


 

 

Other examples of variables

With the variables you can include in the destination folder in this way, you have several options. Below are just a few examples:

Variable:

Description:

[mm.dd.yyyy]

The current date.

[mm.dd.yyyy freeup]

The current date, with the FreeUp option applied (see below).

[mm]

The current month.

[mmmm]

The current month, written out as a word.

[hh-nn-ss]

The time in hours, minutes, and seconds format.

[dd]

The current tag.

[1-7]

Numbers the backup folder between 1 and 7.

[1-7;2]

Numbers the backup folder between 1 and 7, with an incrementor of 2.

[1-x]

Numbers the backup folder between 1 and x, already using the FreeUp option.

[input a]

Prompts the user for the value of a, and inserts that value into the path (The value of the variable 'a' is stored as an environment variable, and so can be reused in a final batch)

Possible date elements in the variables are:

Element:

Description:

w

Day of week as number (1 - 7)

ww

Calendar week (1 - 54)

dd

Tag as number (1 - 31)

ddd

Day of week as word (abbreviated, Mon - Sun)

dddd

Day of week as word (Monday - Sunday)

mm

month as a number

mmm

Month as word (abbreviated, Jan - Dec)

mmmm

Month as word (January - December)

q

Quarter of the year (1 - 4)

yy

Year, two digits (99)

yyyy

Year, four digits (1999)

hh

hour

nn

minute

ss

second

 

Automatically free up memory when it runs low: The FreeUp option

With the FreeUp option, the program can automatically delete older backup folders if there is too little storage space. If there is not enough space left on the drive for the backup, the oldest backup folders will be deleted until there is enough space on the backup. The FreeUp option can be specified with any variable.

About the Author , Founder and CEO of Langmeier Software GmbH
Urs Langmeier Urs Langmeier is founder and CEO of Langmeier Software GmbH and thus responsible for the strategic further development of Langmeier software solutions.
 

Further lookup: Langmeier Backup, Backup, Data backup, Backup Concept

Articles relevant to the topic
Langmeier Backup Version 10 is here
FAT32 or NTFS? Which format is better for backup?
How to back up your hard drive properly and not forget anything


Post a comment here...

This article covers:
Create file directories year month day
Back up data weekly
Perform folder backup per week
Take a new backup every day
Interesting:
What is a backup
Langmeier Backup
Image Backup
Backup media