sassoftware / sassoftware/pyviyatools
Extend snapshotcontent.py to use optional date and object type filters
A pull request for this has already been merged.
- #234 by @gerrynelson63 — merged
- Dominant language
- Python
- Stars
- 50
- Forks
- 42
- PR merge metrics
- No merged PRs in 30d
Description
An optional parameter of date filter (on modified and/or create datetime) as well as content type filter would allow for implementation of incremental backup from of SAS Content - allowing partial restoring of SAS Content that for instance have been mistakenly deleted or mistakenly overwritten.
A full snapshot every night adds up in both running time and space needed to store export packages.
A monthly or weekly full snapshot followed by daily incremental snapshots would be much more efficient.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading snapshotcontent.py and the surrounding command-line entry point to understand how full snapshots currently select SAS Content. Define how optional modified/created-date and object-type filters should combine, then verify that incremental export and partial restore scenarios are covered. The linked pull request should also be reviewed before starting, since it is merged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100