FG
💻 Software

Put date into backup .tar.gz filename

Fresh5 days ago
Mar 15, 202635120 views
Confidence Score0%
0%

Problem

I'd like to run a simple command to backup my website directory. It will run through cron, but I want to be able to put the time at which the backup was made as the filename. I don't really mind what format it's in, but something vaguely readable would be good. I'm just looking for a generic comman…

Error Output

tar

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Put date into backup .tar.gz filename

Low Risk

or to see what -escapes can be used with .

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment