Windows 7 Backup - Entfernen Sie automatisch alte Backup-Bereiche

Ich habe ein 1TB USB-Laufwerk, das ich als Backup-Laufwerk für meinen Arbeits-PC verwende.

Dem Laufwerk wird irgendwann der Speicherplatz ausgehen und ich muss ältere Sicherungen mithilfe der Dialoge Speicherplatz verwalten/Sicherungen anzeigen entfernen und Sicherungen aus vergangenen Perioden löschen.

Gibt es eine Möglichkeit, Windows Backup anzuweisen, den Sicherungsbereich intelligenter zu verwalten und so viele Sicherungen wie möglich aufzubewahren, ohne jedoch die Laufwerksgröße zu überschreiten und Fehler auszugeben?

Author: RnR, 2014-05-14

4 answers

Ich schreibe dies so, dass es jede Woche ausgeführt wird:

wbadmin delete backup -keepversions:7 -quiet

Einfach. Feuer und vergessen.

 2
Author: Brian,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/techietown.info/template/agent.layouts/content.php on line 61
2016-02-29 12:35:38

Um die letzten 3 Backups zu halten:

wbadmin delete backup -keepversions:3 -quiet
  1. Editor öffnen und Zeile eingeben.
  2. Speichern Sie die Datei als remove-old-Backups.Fledermaus -
  3. Taskplaner öffnen (Windows 10)
  4. Klicken Sie rechts auf "Aufgabe erstellen"
  5. [Allgemein]: Beschreibung ausfüllen
  6. [Trigger] > [Neu] > [Nach Zeitplan] > [wöchentlich] ... (um es wöchentlich auszuführen)
  7. [Aktionen] > [Neu] > [Programm starten] > wählen Sie Ihre .bat-Datei -

Dies sollte es tun.

, Informationen der Befehle:

wbadmin delete backup /?
wbadmin 1.0 - Backup command-line tool
(C) Copyright 2013 Microsoft Corporation. All rights reserved.

ERROR - Command syntax incorrect. Error: /?. See the command
syntax below.

Syntax: WBADMIN DELETE BACKUP
  {-keepVersions:<No. of copies> | -version:<VersionIdentifier> | -deleteOldest}
  [-backupTarget:<VolumeName>]
  [-machine:<BackupMachineName>]
  [-quiet]

Description:  Deletes the backups that you specify. If the
specified volume contains backups other than backups of the local
server, those backups will not be deleted.
To use this command, you must be a member of the Backup Operators group
or Administrators group.

Parameters:
-keepVersions  Specifies the number of the latest backups to
                keep. The value must be a positive integer. The option value
                -keepVersions:0 deletes all the backups.

-version       Version identifier of the backup in MM/DD/YYYY-HH:MM format.
                If you do not know the version identifier, at a command
                prompt, type:  WBADMIN GET VERSIONS. Versions that are
                exclusively backups can be deleted using this
                command. Use WBADMIN GET ITEMS to view the version type.

-deleteOldest  Deletes the oldest backup.

-backupTarget  Specifies the storage location for the backup that you want
                to delete. The storage location for backups is a
                drive letter, a mount point, or a GUID-based volume path. This
                value only needs to be specified for locating backups that are
                not of the local computer. Information about backups for the
                local computer will be available in the backup catalog on the
                local computer.

-machine       Specifies the computer whose backup you want to
                delete. Useful when multiple computers were backed up to
                the same location. Should be used when -backupTarget is
                specified.

-quiet         Runs the command with no prompts to the user.

Remarks: One, and only one, of these parameters must be specified:
-keepVersions, -version, or -deleteOldest.

Examples:
WBADMIN DELETE BACKUP -version:03/31/2006-10:00
WBADMIN DELETE BACKUP -keepVersions:3
WBADMIN DELETE BACKUP -backupTarget:f: -deleteOldest
 2
Author: juFo,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/techietown.info/template/agent.layouts/content.php on line 61
2018-08-28 07:47:03

Dies ist die Art von alten, aber die Antwort ist: Nein. Windows (7) Backup löscht alte Backups nicht automatisch und kann dies nicht (automatisch) tun.

Backup-Tools von Drittanbietern werden bevorzugt, wenn Sie dies benötigen.

 1
Author: Nick,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/techietown.info/template/agent.layouts/content.php on line 61
2014-09-08 15:09:25

Windows 7 Backup löscht alte Backups nicht automatisch. Ich habe ein einfaches AutoIt - Skript geschrieben, um das älteste Sicherungsverzeichnis zu finden und es zu löschen, wenn es 4 oder mehr gibt. Ich habe dies dann als geplante Aufgabe hinzugefügt, die jeden Morgen ausgeführt wird.

Hier ist das Skript .

 -1
Author: Nathan,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/techietown.info/template/agent.layouts/content.php on line 61
2015-12-29 21:59:21