MediaRetention 1.1.1

dotnet add package MediaRetention --version 1.1.1                
NuGet\Install-Package MediaRetention -Version 1.1.1                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MediaRetention" Version="1.1.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MediaRetention --version 1.1.1                
#r "nuget: MediaRetention, 1.1.1"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install MediaRetention as a Cake Addin
#addin nuget:?package=MediaRetention&version=1.1.1

// Install MediaRetention as a Cake Tool
#tool nuget:?package=MediaRetention&version=1.1.1                

Media Retention

Umbraco package for media file backups for Umbraco 10, 11, 12. Currently supports physical file system and on-premise Umbraco.

Installation

Add MediaRetention NuGet package to a project:

dotnet add package MediaRetention

Usage

When installed, contentApp will be added to any media file that has default "umbracoFile" property. In contentApp it's possible to restore, download and delete backup file.

ContentApp Screenshot

Configuration

"MediaRetention": {
    "BackupFileLimit": 3,
    "BackupRootDirectory": "/umbraco/mediaRetention",
    "PathMode": "Relative"
}

By default it saves only 3 latest versions of media file. PathMode can be also set to "Absolute" then you can use full path like "Z:/mediaRetention"

Credits

Icon created by - https://css.gg

License

MIT

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.1.1 167 7/2/2023
1.1.0 118 6/21/2023